Adding Visual Studio Code Mac launch.json example

This commit is contained in:
Pablo Andres Fuente
2024-10-12 00:27:20 -03:00
committed by Max Hilbrunner
parent 92c3c63623
commit bb4190ae90

View File

@@ -139,6 +139,22 @@ To run and debug the project you need to create a new configuration in the ``lau
"preLaunchTask": "build"
}
.. code-tab:: js Mac
{
"name": "Launch Project",
"type": "lldb",
"request": "custom",
"targetCreateCommands": [
"target create ${workspaceFolder}/bin/godot.macos.editor.dev.x86_64"
],
// Change the arguments below for the project you want to test with.
// To run the project instead of editing it, remove the "--editor" argument.
"processCreateCommands": [
"process launch -- --editor --path path-to-your-godot-project-folder"
]
}
.. figure:: img/vscode_2_launch.json.png
:figclass: figure-w480
:align: center