diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-01-26 12:23:27 +0100 |
---|---|---|
committer | George L. Albany <Megacake1234@gmail.com> | 2023-01-26 12:23:27 +0100 |
commit | d20ea768a1be4b3a805e68dbe2ea6fd33a108292 (patch) | |
tree | 0613955a85c7970023214051f43a279b7182a54b /.vscode/tasks.json | |
parent | 1c13eadaa98b68fa64f222781d9160ec94fb884e (diff) |
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.
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r-- | .vscode/tasks.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 0260cd5..f8bcc92 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -15,6 +15,20 @@ "problemMatcher": "$msCompile" }, { + "label": "dev_build", + "group": "build", + "type": "shell", + "command": "scons", + "args": [ + // enable for debugging with breakpoints + "dev_build=yes" + ], + "dependsOn": [ + "build" + ], + "problemMatcher": "$msCompile" + }, + { "label": "clean", "group": "build", "type": "shell", |