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.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Ona",
"type": "gdb",
"request": "launch",
"target": "${workspaceFolder}/zig-out/bin/ona",
"cwd": "${workspaceRoot}",
"valuesFormatting": "parseText",
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Build",
"type": "gdb",
"request": "launch",
"target": "${workspaceFolder}/zig-out/bin/ona",
"cwd": "${workspaceRoot}",
"valuesFormatting": "parseText",
"preLaunchTask": "build",
},
{
"name": "Test",
"type": "gdb",
"request": "launch",
"target": "${workspaceFolder}/zig-cache/o/b57ef32c79a05339fbe4a8eb648ff6df/test",
"cwd": "${workspaceRoot}",
"valuesFormatting": "parseText",
"preLaunchTask": "test"
},
]
}