broken_seals_2ds/tools/vscode-setup/launch.json

67 lines
2.2 KiB
JSON
Raw Normal View History

2022-01-30 23:20:50 +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",
"args": [
"--path",
"${workspaceFolder}/../game/"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "${workspaceFolder}/bin/"
}
],
"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"],
"args": [
"--path",
"${workspaceFolder}/../game/",
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "${workspaceFolder}/bin/"
}
],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
//"preLaunchTask": "build",
//"miDebuggerPath": "/usr/bin/gdb"
}
]
}