diff --git a/misc/vscode/launch.json b/misc/vscode/launch.json index b456860..afdeabb 100644 --- a/misc/vscode/launch.json +++ b/misc/vscode/launch.json @@ -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 @@ ], }, ], -} \ No newline at end of file +}