Add tests to VS Code debug config

This commit is contained in:
kayomn 2022-10-02 12:20:53 +01:00
parent be94963cb7
commit 9c1ddd6e8f
1 changed files with 21 additions and 14 deletions

35
.vscode/launch.json vendored
View File

@ -1,16 +1,23 @@
{ {
// Use IntelliSense to learn about possible attributes. "version": "0.2.0",
// Hover to view descriptions of existing attributes. "configurations": [
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 {
"version": "0.2.0", "name": "Build",
"configurations": [ "type": "gdb",
{ "request": "launch",
"name": "Ona", "target": "${workspaceFolder}/zig-out/bin/ona",
"type": "gdb", "cwd": "${workspaceRoot}",
"request": "launch", "valuesFormatting": "parseText",
"target": "${workspaceFolder}/zig-out/bin/ona", "preLaunchTask": "build",
"cwd": "${workspaceRoot}", },
"valuesFormatting": "parseText", {
} "name": "Test",
] "type": "gdb",
"request": "launch",
"target": "${workspaceFolder}/zig-cache/o/b57ef32c79a05339fbe4a8eb648ff6df/test",
"cwd": "${workspaceRoot}",
"valuesFormatting": "parseText",
"preLaunchTask": "test"
},
]
} }