Add debugging task for VS Code

This allows you to launch the command line program into a debugger. This
commit also tweaks the CI and fixes a small error in the build script.
This commit is contained in:
Conrad Kramer 2023-04-16 16:49:15 -04:00
parent 02efa85a19
commit b37086e8f6
6 changed files with 38 additions and 21 deletions

22
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,22 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"cargo": {
"args": [
"build",
"--bin=burrow",
],
"filter": {
"name": "burrow",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
]
}

2
.vscode/tasks.json vendored
View file

@ -14,4 +14,4 @@
"label": "Check"
}
]
}
}