45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
|
{
|
||
|
// 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 executable 'axum-demo'",
|
||
|
"cargo": {
|
||
|
"args": [
|
||
|
"build",
|
||
|
"--bin=axum-demo",
|
||
|
"--package=axum-demo"
|
||
|
],
|
||
|
"filter": {
|
||
|
"name": "axum-demo",
|
||
|
"kind": "bin"
|
||
|
}
|
||
|
},
|
||
|
"args": [],
|
||
|
"cwd": "${workspaceFolder}"
|
||
|
},
|
||
|
{
|
||
|
"type": "lldb",
|
||
|
"request": "launch",
|
||
|
"name": "Debug unit tests in executable 'axum-demo'",
|
||
|
"cargo": {
|
||
|
"args": [
|
||
|
"test",
|
||
|
"--no-run",
|
||
|
"--bin=axum-demo",
|
||
|
"--package=axum-demo"
|
||
|
],
|
||
|
"filter": {
|
||
|
"name": "axum-demo",
|
||
|
"kind": "bin"
|
||
|
}
|
||
|
},
|
||
|
"args": [],
|
||
|
"cwd": "${workspaceFolder}"
|
||
|
}
|
||
|
]
|
||
|
}
|