From 4757ead493422b749ef0caf0b97c854993bb0be4 Mon Sep 17 00:00:00 2001 From: Murray Campbell Date: Fri, 21 Sep 2018 18:10:50 -0500 Subject: [PATCH] Update launch.json --- projects/VSCode/.vscode/launch.json | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/projects/VSCode/.vscode/launch.json b/projects/VSCode/.vscode/launch.json index 5accab286..8c8a67ead 100644 --- a/projects/VSCode/.vscode/launch.json +++ b/projects/VSCode/.vscode/launch.json @@ -64,5 +64,47 @@ "cwd": "${workspaceFolder}", "preLaunchTask": "(OSX) build release" }, + { + "name": "(GNU) Debug", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/game", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": false + } + ], + "preLaunchTask": "(GNU) build debug" + }, + { + "name": "(GNU) Run", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/game", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "miDebuggerPath": "/usr/bin/gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": false + } + ], + "preLaunchTask": "(GNU) build release" + } ] }