From 7f7717ce632761c43a7a20b7c004db0e420a9eb3 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 18 Jun 2020 15:32:18 -0500 Subject: [PATCH] Try to get debugger working. --- .vscode/launch.json | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index e1ca4c9..1f54545 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,9 +8,22 @@ "name": "Debug Nim Project", "type": "gdb", "request": "launch", - "target": "./src/client.exe", - "cwd": "${workspaceRoot}", - "valuesFormatting": "parseText" + "program": "${workspaceFolder}/src/client.exe", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "valuesFormatting": "parseText", + "MIMode": "gdb", + "miDebuggerPath": "D:/Code/nim/nim-1.2.0/dist/mingw64/bin/gdb.exe", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] } ] } \ No newline at end of file