testing-repository/rust_tests/rust_timer/.vscode/launch.json

47 lines
1.4 KiB
JSON
Raw Normal View History

2022-02-12 17:25:30 +08:00
{
// 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 'rust-timer'",
"cargo": {
"args": [
"build",
"--bin=rust-timer",
"--package=rust-timer",
"--release"
],
"filter": {
"name": "rust-timer",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'rust-timer'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=rust-timer",
"--package=rust-timer",
"--release"
],
"filter": {
"name": "rust-timer",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}