Skip to content

Commit dabd12c

Browse files
committed
[nrfconnect] Add VSCode launch configuration for tests
Add launch configuration for Zephyr native tests. Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
1 parent 9c6b7e5 commit dabd12c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.vscode/launch.json

+19
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,25 @@
550550
"runToEntryPoint": "main",
551551
"preLaunchTask": "Debug Open IoT SDK unit-tests",
552552
"showDevDebugOutput": "parsed"
553+
},
554+
{
555+
"name": "Zephyr native tests",
556+
"type": "cppdbg",
557+
"request": "launch",
558+
"program": "${workspaceFolder}/out/nrf-native-sim-tests/nrfconnect/zephyr/zephyr.exe",
559+
"args": ["-testargs"],
560+
"stopAtEntry": false,
561+
"cwd": "${workspaceFolder}/out/nrf-native-sim-tests/nrfconnect",
562+
"environment": [],
563+
"externalConsole": false,
564+
"MIMode": "gdb",
565+
"setupCommands": [
566+
{
567+
"description": "Enable pretty-printing for gdb",
568+
"text": "-enable-pretty-printing",
569+
"ignoreFailures": true
570+
}
571+
]
553572
}
554573
],
555574
"inputs": [

0 commit comments

Comments
 (0)