2019-11-20 13:38:23 +01:00
|
|
|
{
|
|
|
|
// 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": "build and debug",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/bin/godot.x11.opt.tools.64",
|
2020-02-10 23:42:13 +01:00
|
|
|
"args": [
|
|
|
|
"--path",
|
|
|
|
"${workspaceFolder}/../game/"
|
|
|
|
],
|
2019-11-20 13:38:23 +01:00
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
2020-02-10 23:42:13 +01:00
|
|
|
"environment": [
|
|
|
|
{
|
|
|
|
"name": "LD_LIBRARY_PATH",
|
|
|
|
"value": "${workspaceFolder}/bin/"
|
|
|
|
}
|
|
|
|
],
|
2019-11-20 13:38:23 +01:00
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"preLaunchTask": "build",
|
|
|
|
//"miDebuggerPath": "/usr/bin/gdb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "debug",
|
|
|
|
"type": "cppdbg",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${workspaceFolder}/bin/godot.x11.opt.tools.64",
|
|
|
|
//"args": ["-e"],
|
2020-02-10 23:42:13 +01:00
|
|
|
"args": [
|
|
|
|
"--path",
|
|
|
|
"${workspaceFolder}/../game/",
|
|
|
|
],
|
2019-11-20 13:38:23 +01:00
|
|
|
"stopAtEntry": false,
|
|
|
|
"cwd": "${workspaceFolder}",
|
2020-02-10 23:42:13 +01:00
|
|
|
"environment": [
|
|
|
|
{
|
|
|
|
"name": "LD_LIBRARY_PATH",
|
|
|
|
"value": "${workspaceFolder}/bin/"
|
|
|
|
}
|
|
|
|
],
|
2019-11-20 13:38:23 +01:00
|
|
|
"externalConsole": false,
|
|
|
|
"MIMode": "gdb",
|
|
|
|
"setupCommands": [
|
|
|
|
{
|
|
|
|
"description": "Enable pretty-printing for gdb",
|
|
|
|
"text": "-enable-pretty-printing",
|
|
|
|
"ignoreFailures": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
//"preLaunchTask": "build",
|
|
|
|
//"miDebuggerPath": "/usr/bin/gdb"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|