Skip to content

Commit

Permalink
Added launch config for editor and project for macos using lldb
Browse files Browse the repository at this point in the history
  • Loading branch information
vickylance committed Oct 7, 2023
1 parent d13607e commit d521f14
Showing 1 changed file with 27 additions and 31 deletions.
58 changes: 27 additions & 31 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,55 @@
"version": "0.2.0",
"configurations": [
{
"name": "editor (lldb)",
"type": "lldb",
"request": "launch",
"name": "MacOS Launch",
"cwd": "${workspaceFolder}",
"args": [
"--editor",
"--debug",
"--verbose",
"--path",
"${workspaceFolder}/project"
],
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.macos.editor.dev.arm64",
"cwd": "${workspaceFolder}",
"linux": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.linuxbsd.editor.dev.x86_64"
},
"windows": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.windows.editor.dev.x86_64.exe"
},
"osx": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.macos.editor.dev.arm64"
}
},
{
"MIMode": "gdb",
"name": "project (lldb)",
"type": "lldb",
"request": "launch",
"cwd": "${workspaceFolder}",
"args": ["--debug", "--verbose", "--path", "${workspaceFolder}/project"],
"linux": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.linuxbsd.editor.dev.x86_64",
"miDebuggerPath": "/usr/bin/gdb"
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.linuxbsd.editor.dev.x86_64"
},
"windows": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.windows.editor.dev.x86_64.exe",
"miDebuggerPath": "C:\\tools\\mingw64\\bin\\gdb.exe"
},
"visualizerFile": "${workspaceFolder}/extern/godot-engine/platform/windows/godot.natvis",
"internalConsoleOptions": "openOnSessionStart",
"launchCompleteCommand": "exec-run",
"symbolLoadInfo": {
"loadAll": true,
"exceptionList": ""
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.windows.editor.dev.x86_64.exe"
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
"osx": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.macos.editor.dev.arm64"
}
},
{
"name": "editor (gdb)",
"type": "cppdbg",
"request": "launch",
"MIMode": "gdb",
"cwd": "${workspaceFolder}",
"args": [
"--editor",
"--debug",
"--verbose",
"--path",
"${workspaceFolder}/project"
],
"linux": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.linuxbsd.editor.dev.x86_64",
"miDebuggerPath": "/usr/bin/gdb"
Expand All @@ -59,14 +62,7 @@
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.windows.editor.dev.x86_64.exe",
"miDebuggerPath": "C:\\tools\\mingw64\\bin\\gdb.exe"
},
"args": [
"--editor",
"--debug",
"--verbose",
"--path",
"${workspaceFolder}/project"
],
"cwd": "${workspaceFolder}",
"MIMode": "gdb",
"visualizerFile": "${workspaceFolder}/extern/godot-engine/platform/windows/godot.natvis",
"internalConsoleOptions": "openOnSessionStart",
"launchCompleteCommand": "exec-run",
Expand Down

0 comments on commit d521f14

Please sign in to comment.