45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
// 使用 IntelliSense 了解相关属性。
|
|
// 悬停以查看现有属性的描述。
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug executable 'bird-looking-glass'",
|
|
"cargo": {
|
|
"args": [
|
|
"build",
|
|
"--bin=bird-looking-glass",
|
|
"--package=bird-looking-glass"
|
|
],
|
|
"filter": {
|
|
"name": "bird-looking-glass",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"name": "Debug unit tests in executable 'bird-looking-glass'",
|
|
"cargo": {
|
|
"args": [
|
|
"test",
|
|
"--no-run",
|
|
"--bin=bird-looking-glass",
|
|
"--package=bird-looking-glass"
|
|
],
|
|
"filter": {
|
|
"name": "bird-looking-glass",
|
|
"kind": "bin"
|
|
}
|
|
},
|
|
"args": [],
|
|
"cwd": "${workspaceFolder}"
|
|
}
|
|
]
|
|
} |