Skip to content

Instantly share code, notes, and snippets.

@Janglee123
Last active March 16, 2019 08:09
Show Gist options
  • Save Janglee123/eea546915c7a633786b81656b7a130a5 to your computer and use it in GitHub Desktop.
Save Janglee123/eea546915c7a633786b81656b7a130a5 to your computer and use it in GitHub Desktop.
Godot-VSCode
{
// 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",
"linux": {
"program": "${workspaceFolder}/bin/godot.x11.tools.64",
},
"args": [],
"stopAtEntry": false,
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) Launch Editor",
"type": "cppdbg",
"request": "launch",
"linux": {
"program": "${workspaceFolder}/bin/godot.x11.tools.64",
},
"args": [
"-e"
],
"stopAtEntry": false,
"cwd": "PATH_TO_PROJECT",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "(gdb) Build and Launch Editor",
"type": "cppdbg",
"request": "launch",
"linux": {
"program": "${workspaceFolder}/bin/godot.x11.tools.64",
},
"args": [
"-e"
],
"stopAtEntry": false,
"cwd": "PATH_TO_PROJECT",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "build"
},
]
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "scons",
"linux": {
"args": [
"-j4",
"platform=x11",
"target=debug"
],
},
"group": {
"kind": "build",
"isDefault": true
}
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment