Skip to content

Commit

Permalink
vscode launch.json macos fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vorlac committed Oct 15, 2023
1 parent 19215e7 commit 563c242
Showing 1 changed file with 56 additions and 25 deletions.
81 changes: 56 additions & 25 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
},
"windows": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.windows.editor.dev.x86_64.exe",
"miDebuggerPath": "C:\\tools\\mingw64\\bin\\gdb.exe"
"miDebuggerPath": "gdb"
},
"args": [
"--debug",
"--verbose",
"--path",
"${workspaceFolder}/project",
"${workspaceFolder}/project"
],
"cwd": "${workspaceFolder}",
"visualizerFile": "${workspaceFolder}/extern/godot-engine/platform/windows/godot.natvis",
"internalConsoleOptions": "openOnSessionStart",
"launchCompleteCommand": "exec-run",
"symbolLoadInfo": {
"loadAll": true,
"exceptionList": "",
"exceptionList": ""
},
"setupCommands": [
{
Expand All @@ -50,7 +50,7 @@
},
"windows": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.windows.editor.dev.x86_64.exe",
"miDebuggerPath": "C:\\tools\\mingw64\\bin\\gdb.exe"
"miDebuggerPath": "gdb"
},
"args": [
"--editor",
Expand All @@ -76,7 +76,7 @@
]
},
{
"name": "project (vsdbg)",
"name": "project (vsdbg | windows)",
"type": "cppvsdbg",
"request": "launch",
"requireExactSource": true,
Expand All @@ -97,10 +97,10 @@
"cwd": "${workspaceFolder}",
"visualizerFile": "${workspaceFolder}/extern/godot-engine/platform/windows/godot.natvis",
"internalConsoleOptions": "openOnSessionStart",
"console": "internalConsole",
"console": "internalConsole"
},
{
"name": "editor (vsdbg)",
"name": "editor (vsdbg | windows)",
"type": "cppvsdbg",
"request": "launch",
"requireExactSource": true,
Expand All @@ -122,19 +122,13 @@
"cwd": "${workspaceFolder}",
"visualizerFile": "${workspaceFolder}/extern/godot-engine/platform/windows/godot.natvis",
"internalConsoleOptions": "openOnSessionStart",
"console": "internalConsole",
"console": "internalConsole"
},
{
"name": "project (lldb)",
"type": "lldb",
"type": "cppdbg",
"MIMode": "lldb",
"request": "launch",
"cwd": "${workspaceFolder}",
"args": [
"--debug",
"--verbose",
"--path",
"${workspaceFolder}/project"
],
"linux": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.linuxbsd.editor.dev.x86_64"
},
Expand All @@ -143,20 +137,35 @@
},
"osx": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.macos.editor.dev.arm64"
}
},
{
"name": "editor (lldb)",
"type": "lldb",
"request": "launch",
"cwd": "${workspaceFolder}",
},
"args": [
"--editor",
"--debug",
"--verbose",
"--path",
"${workspaceFolder}/project"
],
"cwd": "${workspaceFolder}",
"visualizerFile": "${workspaceFolder}/extern/godot-engine/platform/windows/godot.natvis",
"internalConsoleOptions": "openOnSessionStart",
"launchCompleteCommand": "exec-run",
"symbolLoadInfo": {
"loadAll": true,
"exceptionList": ""
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
{
"name": "editor (lldb)",
"type": "cppdbg",
"MIMode": "lldb",
"miDebuggerPath": "lldb",
"request": "launch",
"linux": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.linuxbsd.editor.dev.x86_64"
},
Expand All @@ -165,7 +174,29 @@
},
"osx": {
"program": "${workspaceFolder}/extern/godot-engine/bin/godot.macos.editor.dev.arm64"
}
},
"args": [
"--editor",
"--debug",
"--verbose",
"--path",
"${workspaceFolder}/project"
],
"cwd": "${workspaceFolder}",
"visualizerFile": "${workspaceFolder}/extern/godot-engine/platform/windows/godot.natvis",
"internalConsoleOptions": "openOnSessionStart",
"launchCompleteCommand": "exec-run",
"symbolLoadInfo": {
"loadAll": true,
"exceptionList": ""
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

0 comments on commit 563c242

Please sign in to comment.