|
{ |
|
|
|
|
|
|
|
"version": "0.2.0", |
|
"configurations": [ |
|
|
|
{ |
|
"name": "Python Debugger: Current File", |
|
"type": "debugpy", |
|
"request": "launch", |
|
"program": "${file}", |
|
"console": "integratedTerminal" |
|
}, |
|
|
|
{ |
|
"name": "Debug 'PROJ_NAME'", |
|
"type": "lldb", |
|
"request": "launch", |
|
"cargo": { |
|
"args": [ |
|
"build" |
|
], |
|
"filter": { |
|
"name": "PROJ_NAME", |
|
"kind": "bin" |
|
} |
|
}, |
|
"args": [], |
|
"cwd": "${workspaceFolder}", |
|
"env": { |
|
"RUST_LOG": "debug" |
|
} |
|
}, |
|
{ |
|
"name": "Launch Rust tests", |
|
"type": "lldb", |
|
"request": "launch", |
|
"cargo": { |
|
"args": [ |
|
"test", |
|
"--no-run", |
|
"--lib", |
|
"--all-features" |
|
], |
|
"filter": { |
|
"kind": "lib" |
|
} |
|
}, |
|
"cwd": "${workspaceFolder}", |
|
"env": { |
|
"RUST_LOG": "debug" |
|
} |
|
}, |
|
] |
|
} |
|
|