mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Merge pull request #10077 from pafuent/adding_visual_studio_code_mac_launch_json_example
Adding Visual Studio Code Mac launch.json example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user