feat(dev): add vscode launch config

This commit is contained in:
zawz 2023-09-08 15:36:14 +02:00
parent 3361a857a6
commit 819ef4db28

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 'rmidimap'",
"cargo": {
"args": [
"build",
"--bin=rmidimap",
"--package=rmidimap"
],
"filter": {
"name": "rmidimap",
"kind": "bin"
}
},
"args": ["examples/vmpk.yml"],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'rmidimap'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=rmidimap",
"--package=rmidimap"
],
"filter": {
"name": "rmidimap",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}