Commit 12c48e82 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

setup debugger

parent f7f8a371
{
"recommendations": ["rust-lang.rust-analyzer", "vadimcn.vscode-lldb"]
}
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'tenjin'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=tenjin_sdn"
],
"filter": {
"name": "tenjin",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'tenjin'",
"cargo": {
"args": [
"build",
"--bin=tenjin",
"--package=tenjin_sdn"
],
"filter": {
"name": "tenjin",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'tenjin'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=tenjin",
"--package=tenjin_sdn"
],
"filter": {
"name": "tenjin",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug integration test 'headers'",
"cargo": {
"args": [
"test",
"--no-run",
"--test=headers",
"--package=tenjin_sdn"
],
"filter": {
"name": "headers",
"kind": "test"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
\ No newline at end of file
{
"debug.allowBreakpointsEverywhere": true
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment