Last active
January 8, 2024 20:08
-
-
Save leonardoraele/72ac9773feb8ef996730d685e2c088c4 to your computer and use it in GitHub Desktop.
My .vscode/launch.json for debugging Godot projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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": "Launch", | |
"type": "coreclr", | |
"request": "launch", | |
"preLaunchTask": "build", | |
"program": "${env:GODOT4}", | |
"cwd": "${workspaceFolder}", | |
"console": "internalConsole", | |
"stopAtEntry": false, | |
"args": [ | |
"--path", | |
"${workspaceRoot}" | |
] | |
}, | |
{ | |
"name": "Launch (Select Scene)", | |
"type": "coreclr", | |
"request": "launch", | |
"preLaunchTask": "build", | |
"program": "${env:GODOT4}", | |
"cwd": "${workspaceFolder}", | |
"console": "internalConsole", | |
"stopAtEntry": false, | |
"args": [ | |
"--path", | |
"${workspaceRoot}", | |
"${command:godot.csharp.getLaunchScene}" | |
] | |
}, | |
{ | |
"name": "Launch Editor", | |
"type": "coreclr", | |
"request": "launch", | |
"preLaunchTask": "build", | |
"program": "${env:GODOT4}", | |
"cwd": "${workspaceFolder}", | |
"console": "internalConsole", | |
"stopAtEntry": false, | |
"args": [ | |
"--path", | |
"${workspaceRoot}", | |
"--editor" | |
] | |
}, | |
{ | |
"name": "Attach to Process", | |
"type": "coreclr", | |
"request": "attach" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "build", | |
"command": "dotnet", | |
"type": "shell", | |
"args": [ | |
"build", | |
"/property:GenerateFullPaths=true", | |
"/consoleloggerparameters:NoSummary" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"presentation": { | |
"reveal": "silent" | |
}, | |
"problemMatcher": "$msCompile" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment