62 lines
1,004 B
JSON
62 lines
1,004 B
JSON
|
{
|
||
|
"version": "0.2.0",
|
||
|
"configurations": [
|
||
|
{
|
||
|
"type": "lldb",
|
||
|
"request": "launch",
|
||
|
"name": "Debug unit tests in library 'echoed'",
|
||
|
"cargo": {
|
||
|
"args": [
|
||
|
"test",
|
||
|
"--no-run",
|
||
|
"--lib",
|
||
|
"--package=echoed"
|
||
|
],
|
||
|
"filter": {
|
||
|
"name": "echoed",
|
||
|
"kind": "lib"
|
||
|
}
|
||
|
},
|
||
|
"args": [],
|
||
|
"cwd": "${workspaceFolder}"
|
||
|
},
|
||
|
{
|
||
|
"type": "lldb",
|
||
|
"request": "launch",
|
||
|
"name": "Debug executable 'echoed'",
|
||
|
"cargo": {
|
||
|
"args": [
|
||
|
"build",
|
||
|
"--bin=echoed",
|
||
|
"--package=echoed"
|
||
|
],
|
||
|
"filter": {
|
||
|
"name": "echoed",
|
||
|
"kind": "bin"
|
||
|
}
|
||
|
},
|
||
|
"args": [],
|
||
|
"cwd": "${workspaceFolder}"
|
||
|
},
|
||
|
{
|
||
|
"type": "lldb",
|
||
|
"request": "launch",
|
||
|
"name": "Debug unit tests in executable 'echoed'",
|
||
|
"cargo": {
|
||
|
"args": [
|
||
|
"test",
|
||
|
"--no-run",
|
||
|
"--bin=echoed",
|
||
|
"--package=echoed"
|
||
|
],
|
||
|
"filter": {
|
||
|
"name": "echoed",
|
||
|
"kind": "bin"
|
||
|
}
|
||
|
},
|
||
|
"args": [],
|
||
|
"cwd": "${workspaceFolder}"
|
||
|
}
|
||
|
]
|
||
|
}
|