@@ -146,20 +146,32 @@ To run and debug the project you need to create a new configuration in the ``lau
146146 "preLaunchTask": "build"
147147 }
148148
149- .. code-tab :: js Mac
149+ .. code-tab :: js macOS_x86_64
150150
151151 {
152152 "name": "Launch Project",
153153 "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",
158156 // Change the arguments below for the project you want to test with.
159157 // 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"
163175 }
164176
165177.. 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
173185
174186 Due to sporadic performance issues, it is recommended to use LLDB over GDB on Unix-based systems.
175187 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 ` .
177189
178190 If you encounter issues with lldb, you may consider using gdb (see the LinuxBSD_gdb configuration).
179191
0 commit comments