summaryrefslogtreecommitdiff
path: root/Visual Studio Code
diff options
context:
space:
mode:
authors1n <[email protected]>2019-08-13 01:36:45 -0700
committerGitHub <[email protected]>2019-08-13 01:36:45 -0700
commit3acea2b0156e5d1ef6b212bba8e59031b34ea704 (patch)
tree9ddbf4b15aac997be81c7a27cd0ad84faa4121a3 /Visual Studio Code
parentCreate c_cpp_properties.json (diff)
downloadcpp-init-3acea2b0156e5d1ef6b212bba8e59031b34ea704.tar.xz
cpp-init-3acea2b0156e5d1ef6b212bba8e59031b34ea704.zip
Create launch.json
Diffstat (limited to 'Visual Studio Code')
-rw-r--r--Visual Studio Code/.vscode/launch.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/Visual Studio Code/.vscode/launch.json b/Visual Studio Code/.vscode/launch.json
new file mode 100644
index 0000000..2964028
--- /dev/null
+++ b/Visual Studio Code/.vscode/launch.json
@@ -0,0 +1,28 @@
+{
+ // 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": "(gdb) Launch",
+ "type": "cppdbg",
+ "request": "launch",
+ "program": "${workspaceFolder}/pong.exe", // Executable.
+ "args": [],
+ "stopAtEntry": true,
+ "cwd": "${workspaceFolder}",
+ "environment": [],
+ "externalConsole": true,
+ "MIMode": "gdb",
+ "miDebuggerPath": "C:\\mingw-w64\\mingw64\\bin\\gdb.exe",
+ "setupCommands": [
+ {
+ "description": "Enable pretty-printing for gdb",
+ "text": "-enable-pretty-printing",
+ "ignoreFailures": true
+ }
+ ]
+ }
+ ]
+}