Added a debug config for vscode

This commit is contained in:
MIIRC 2020-11-08 10:24:54 -05:00
parent 9e5524b556
commit 9ba78e7406
1 changed files with 27 additions and 0 deletions

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

@ -0,0 +1,27 @@
{
// 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 unit tests in library 'pigeon_core'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=pigeon_core"
],
"filter": {
"name": "pigeon_core",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}