From d20ea768a1be4b3a805e68dbe2ea6fd33a108292 Mon Sep 17 00:00:00 2001 From: "George L. Albany" Date: Thu, 26 Jan 2023 06:23:27 -0500 Subject: feat(vscode): Add dev_build task and debugger launcher feat(git): Ignore clangd cache and user VSCode files feat(build): Make dev_build=yes overwrite the non-dev_build extension library feat(docs): Added instructions in README.md to run Godot with our extension and attach a debugger fix(docs): Corrected README.md Project Export header steps being off TODO: vscode Debug launch configuration relies on /bin/godot4 in both Windows and Linux PATH, likely should be an environment variable. --- .vscode/launch.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .vscode/launch.json (limited to '.vscode/launch.json') diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2cabcf6 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + // 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": [ + { + "type": "cppdbg", + "request": "launch", + "name": "Debug", + "program": "/bin/godot4", // TODO: Godot environment variable? + "args": [], + "cwd": "${workspaceFolder}/game", + "preLaunchTask": "dev_build", + "windows": { + "type": "cppvsdb", + "request": "launch", + "name": "Debug", + "program": "/bin/godot4", // TODO: Common Godot 4 Windows install or Godot environment variable? + "args": [], + "cwd": "${workspaceFolder}\\game", + "preLaunchTask": "dev_build", + } + } + ] +} \ No newline at end of file -- cgit v1.2.3-56-ga3b1