@@ -146,20 +146,32 @@ To run and debug the project you need to create a new configuration in the ``lau
146
146
"preLaunchTask": "build"
147
147
}
148
148
149
- .. code-tab :: js Mac
149
+ .. code-tab :: js macOS_x86_64
150
150
151
151
{
152
152
"name": "Launch Project",
153
153
"type": "lldb",
154
- "request": "custom",
155
- "targetCreateCommands": [
156
- "target create ${workspaceFolder}/bin/godot.macos.editor.dev.x86_64"
157
- ],
154
+ "request": "launch",
155
+ "program": "${workspaceFolder}/bin/godot.macos.editor.x86_64",
158
156
// Change the arguments below for the project you want to test with.
159
157
// To run the project instead of editing it, remove the "--editor" argument.
160
- "processCreateCommands": [
161
- "process launch -- --editor --path path-to-your-godot-project-folder"
162
- ]
158
+ "args": ["--editor", "--path", "path-to-your-godot-project-folder"],
159
+ "cwd": "${workspaceFolder}",
160
+ "preLaunchTask": "build"
161
+ }
162
+
163
+ .. code-tab :: js macOS_arm64
164
+
165
+ {
166
+ "name": "Launch Project",
167
+ "type": "lldb",
168
+ "request": "launch",
169
+ "program": "${workspaceFolder}/bin/godot.macos.editor.arm64",
170
+ // Change the arguments below for the project you want to test with.
171
+ // To run the project instead of editing it, remove the "--editor" argument.
172
+ "args": ["--editor", "--path", "path-to-your-godot-project-folder"],
173
+ "cwd": "${workspaceFolder}",
174
+ "preLaunchTask": "build"
163
175
}
164
176
165
177
.. figure :: img/vscode_2_launch.json.png
@@ -173,7 +185,7 @@ To run and debug the project you need to create a new configuration in the ``lau
173
185
174
186
Due to sporadic performance issues, it is recommended to use LLDB over GDB on Unix-based systems.
175
187
Make sure that the `CodeLLDB extension <https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb >`_
176
- is installed.
188
+ is installed for configurations using ` lldb ` .
177
189
178
190
If you encounter issues with lldb, you may consider using gdb (see the LinuxBSD_gdb configuration).
179
191
0 commit comments