@@ -35,43 +35,163 @@ Here are the descriptions of the options:
35
35
Deploy with Remote Debug
36
36
++++++++++++++++++++++++
37
37
38
- When exporting and deploying, the resulting executable will attempt to connect
39
- to the IP of your computer for debugging.
38
+ When this option is enabled, using one-click deploy will make the executable
39
+ attempt to connect to this computer's IP so the running project can be debugged.
40
+ This option is intended to be used for remote debugging (typically with a mobile
41
+ device).
42
+ You don't need to enable it to use the GDScript debugger locally.
40
43
41
- Small Deploy with Network FS
42
- ++++++++++++++++++++++++++++
44
+ Small Deploy with Network Filesystem
45
+ ++++++++++++++++++++++++++++++++++++
43
46
44
47
This option speeds up testing for games with a large footprint on remote devices.
45
48
46
- When **Small Deploy with Network FS ** is on, instead of exporting the full game,
47
- deploying the game builds a minimal executable. The editor then provides files
48
- from the project over the network.
49
+ When **Small Deploy with Network Filesystem ** is on, instead of exporting the
50
+ full game, deploying the game builds a minimal executable. The editor then
51
+ provides files from the project over the network.
49
52
50
- Also, on Android, the game is deployed using the USB cable to speed up deployment.
53
+ Also, on Android, the game is deployed using the USB cable to speed up
54
+ deployment.
51
55
52
56
Visible Collision Shapes
53
57
++++++++++++++++++++++++
54
58
55
- This option makes collision shapes and raycast nodes visible in the running game.
59
+ When this option is enabled, collision shapes and raycast nodes (for 2D and 3D)
60
+ will be visible in the running project.
61
+
62
+ Visible Paths
63
+ +++++++++++++
64
+
65
+ When this option is enabled, curve resources used by path nodes will be visible
66
+ in the running project.
56
67
57
68
Visible Navigation
58
69
++++++++++++++++++
59
70
60
- Navigation meshes and polygons will be visible on the running game.
71
+ When this option is enabled, navigation meshes, and polygons will be visible in
72
+ the running project.
61
73
62
- Sync Scene Changes
63
- ++++++++++++++++++
74
+ Visible Avoidance
75
+ +++++++++++++++++
76
+
77
+ When this option is enabled, avoidance object shapes, radiuses, and velocities
78
+ will be visible in the running project.
79
+
80
+ Debug CanvasItem Redraws
81
+ ++++++++++++++++++++++++
82
+
83
+ When this option is enabled, redraw requests of 2D objects will become visible
84
+ (as a short flash) in the running project.
85
+ This is useful to troubleshoot low processor mode.
86
+
87
+ Synchronize Scene Changes
88
+ ++++++++++++++++++++++++++
64
89
65
- With this option, any change you make to a scene in the editor at runtime
66
- appears instantly. When used remotely on a device, this is more efficient
67
- with the network filesystem.
90
+ When this option is enabled, any changes made to the scene in the editor will be
91
+ replicated in the running project.
92
+ When used remotely on a device, this is more efficient when the network
93
+ filesystem option is enabled.
68
94
69
- Sync Script Changes
70
- +++++++++++++++++++
95
+ Synchronize Script Changes
96
+ +++++++++++++++++++++++++++
71
97
72
- Any script that is saved will be reloaded on the running game. When used
98
+ When this option is enabled, any changes made to the script in the editor will
99
+ be reloaded in the running project. When used
73
100
remotely on a device, this is more efficient with the network filesystem.
74
101
102
+ Keep Debug Server Open
103
+ ++++++++++++++++++++++
104
+
105
+ When this option is enabled, the editor debug server will stay open and listen
106
+ for new sessions started outside of the editor itself.
107
+
108
+ Customize Run Instances...
109
+ ++++++++++++++++++++++++++
110
+
111
+ This opens a dialog allowing you to tell Godot to run multiple instances of the
112
+ game at once, and to specify the command line arguments for each instance. This
113
+ is especially useful when building and debugging multiplayer games.
114
+
115
+ .. image :: img/customize_run_instances.webp
116
+
117
+ Enable Multiple Instances
118
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
119
+
120
+ When this option is enabled, the editor will run multiple instances of the
121
+ project at once when you Run Project.
122
+
123
+ Below this checkbox is a selector to pick how many instances to run.
124
+
125
+ Checking the box and setting this to only 1 is the same as not checking this box
126
+ at all.
127
+
128
+ Main Run Args
129
+ ^^^^^^^^^^^^^
130
+
131
+ These are the arguments that will be passed to **every ** instance of the project
132
+ when you Run Project, unless you select "Enabled" under "Override Main Run Args"
133
+ for a specific instance.
134
+
135
+ Note that these arguments are space-separated.
136
+
137
+ .. tip ::
138
+
139
+ These arguments can be accessed in your script by using
140
+ :ref: `get_cmdline_args<class_OS_method_get_cmdline_args> `.
141
+
142
+ .. warning ::
143
+
144
+ Even if you uncheck "Enable Multiple Instances" these arguments will be
145
+ passed when you Run Project.
146
+
147
+ Main Feature Tags
148
+ ^^^^^^^^^^^^^^^^^
149
+
150
+ These are the feature tags that will be passed to **every ** instance of the
151
+ project when you Run Project, unless you select "Enabled" under "Override Main
152
+ Tags" for a specific instance.
153
+
154
+ Override Main Run Args
155
+ ^^^^^^^^^^^^^^^^^^^^^^
156
+
157
+ When this is enabled, the arguments in the "Main Run Args" field will **not be
158
+ passed ** to this specific instance of the project when you Run Project.
159
+
160
+ Launch Arguments
161
+ ^^^^^^^^^^^^^^^^
162
+
163
+ These are the arguments that will be passed to this specific instance of the
164
+ project when you Run Project. They will be **combined with ** the "Main Run Args"
165
+ unless you select "Enabled" under "Override Main Run Args".
166
+
167
+ Override Main Tags
168
+ ^^^^^^^^^^^^^^^^^^
169
+
170
+ When this is enabled, the tags in the "Main Feature Tags" field will **not be
171
+ passed ** to this specific instance of the project when you Run Project.
172
+
173
+ Feature Tags
174
+ ^^^^^^^^^^^^
175
+
176
+ These are the feature tags that will be passed to this specific instance of the
177
+ project when you Run Project. They will be **combined with ** the "Main Feature
178
+ Tags" unless you select "Enabled" under "Override Main Tags".
179
+
180
+ .. warning ::
181
+ If you want to pass "User" arguments, that can be accessed with
182
+ :ref: `get_cmdline_user_args<class_OS_method_get_cmdline_user_args> ` then you
183
+ must prefix them with two dashes **and a space ** like `-- one two three `.
184
+
185
+ Be aware that these dashes will apply to arguments added later in the
186
+ "Launch Arguments" on a per instance basis, which can cause some confusion
187
+ when combining the `Main Run Args ` and `Launch Arguments `.
188
+
189
+ If you place `-- one two three ` in the "Main Run Args" and `-- four five
190
+ six ` in the "Launch Arguments" then the final command line arguments will be
191
+ `one two three -- four five six `. This is because the `-- ` is repeated in
192
+ the "Launch Arguments".
193
+
194
+
75
195
.. _doc_debugger_tools_and_options :
76
196
77
197
Script editor debug tools and options
@@ -102,8 +222,6 @@ The **Break** button causes a break in the script like a breakpoint would.
102
222
**Step Over ** goes to the next line of code, and **Step Into ** goes into
103
223
a function if possible. Otherwise, it does the same thing as **Step Over **.
104
224
105
- The **Keep Debugger Open ** option keeps the debugger open after a scene
106
- has been closed.
107
225
The **Debug with External Editor ** option lets you debug your game with an external editor.
108
226
This option is also accessible in **Editor Settings > Debugger **.
109
227
0 commit comments