diff --git a/.vscode/launch.json b/.vscode/launch.json index 1bc3c0d..b32996f 100755 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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" + }, + ] }