unit test debug launch config

This commit is contained in:
Matthew Kennedy 2023-11-13 13:56:11 -08:00
parent 7f5b7097e3
commit b3b73135a6
1 changed files with 20 additions and 0 deletions

20
.vscode/launch.json vendored
View File

@ -1,6 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Unit Tests (gdb)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/test/build/wideband_test",
// uncomment args below to only debug a particular test
//"args": ["--gtest_filter=Heater.StatePreheat"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/test/",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "Debug F042 (firmware)",
"type": "cortex-debug",