Skip to content

Commit 2b0aec2

Browse files
committed
Adding Visual Studio Code Mac launch.json example
1 parent e12a393 commit 2b0aec2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

contributing/development/configuring_an_ide/visual_studio_code.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,22 @@ To run and debug the project you need to create a new configuration in the ``lau
139139
"preLaunchTask": "build"
140140
}
141141

142+
.. code-tab:: js Mac
143+
144+
{
145+
"name": "Launch Project",
146+
"type": "lldb",
147+
"request": "custom",
148+
"targetCreateCommands": [
149+
"target create ${workspaceFolder}/bin/godot.macos.editor.dev.x86_64"
150+
],
151+
// Change the arguments below for the project you want to test with.
152+
// To run the project instead of editing it, remove the "--editor" argument.
153+
"processCreateCommands": [
154+
"process launch -- --editor --path path-to-your-godot-project-folder"
155+
]
156+
}
157+
142158
.. figure:: img/vscode_2_launch.json.png
143159
:figclass: figure-w480
144160
:align: center

0 commit comments

Comments
 (0)