saysthbot-reborn/.vscode/launch.json

45 lines
1.3 KiB
JSON
Raw Permalink Normal View History

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