Permalink
Browse files

Add vscode launch configuration

[ci skip]
  • Loading branch information...
1 parent 35472fe commit f3303b91a9b1c49b26a86871fc5e8c9cf2f60e96 @IntelOrca IntelOrca committed Dec 12, 2016
Showing with 51 additions and 1 deletion.
  1. +10 −1 .gitignore
  2. +41 −0 .vscode/launch.json
View
@@ -286,4 +286,13 @@ data/g2.dat
###############
## JetBrains ##
###############
-.idea/
+.idea/
+
+#########################
+## Visual Studio Code
+#########################
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
View
@@ -0,0 +1,41 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "C++ Launch",
+ "type": "cppdbg",
+ "request": "launch",
+ "program": "${workspaceRoot}/bin/openrct2",
+ "args": [],
+ "stopAtEntry": true,
+ "cwd": "${workspaceRoot}/bin",
+ "environment": [],
+ "externalConsole": true,
+ "linux": {
+ "MIMode": "gdb"
+ },
+ "osx": {
+ "MIMode": "lldb"
+ },
+ "windows": {
+ "MIMode": "gdb"
+ }
+ },
+ {
+ "name": "C++ Attach",
+ "type": "cppdbg",
+ "request": "attach",
+ "program": "${workspaceRoot}/bin/openrct2",
+ "processId": "${command.pickProcess}",
+ "linux": {
+ "MIMode": "gdb"
+ },
+ "osx": {
+ "MIMode": "lldb"
+ },
+ "windows": {
+ "MIMode": "gdb"
+ }
+ }
+ ]
+}

0 comments on commit f3303b9

Please sign in to comment.