Add launch.json

This commit is contained in:
Thomas A 2022-07-17 09:39:02 -07:00
parent b53f24e608
commit 96f95e1b0f

45
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,45 @@
{
// 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 'library_symbols'",
"cargo": {
"args": [
"build",
"--bin=library_symbols",
"--package=library_symbols"
],
"filter": {
"name": "library_symbols",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'library_symbols'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=library_symbols",
"--package=library_symbols"
],
"filter": {
"name": "library_symbols",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}