From 2e7189463a7c0fd78594f69bb85cd32ca9e83418 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Mon, 5 Aug 2024 04:42:19 +0000 Subject: [PATCH] vscode: Add debug cfg to skip sparkd build --- .vscode/launch.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index cedc75dce..693d25fbc 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -224,6 +224,34 @@ "ignoreFailures": true } ] + }, + { + "name": "Sparkd (Skip Build)", + "type": "cppdbg", + "request": "launch", + "program": "", + "linux": { + "program": "${workspaceFolder}/build/sparkd-debug-clang/server/sparkd", + }, + "args": [ + "run" + ], + "cwd": "${workspaceFolder}/build/sparkd-debug-clang/server", + "stopAtEntry": false, + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] } ], "inputs": [