Add VSCode debug launch configuration for main scene

This commit is contained in:
Leroy Hopson 2022-08-13 09:32:30 +12:00
parent d27b0c57ce
commit c3b2e1d5fa
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -4,6 +4,33 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Main (gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "/run/current-system/sw/bin/godot",
"args": [
"${workspaceFolder}/examples/menu/menu.tscn",
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true,
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true,
},
],
},
{
"name": "Editor (gdb) Launch",
"type": "cppdbg",
@ -58,4 +85,4 @@
],
},
],
}
}