mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Merge pull request #10889 from Calinou/running-code-in-the-editor-no-debugger
Mention the lack of debugger support in Running code in the editor
This commit is contained in:
@@ -120,6 +120,11 @@ Modifications in the editor are permanent. For example, in the next
|
||||
section when we remove the script, the node will keep its rotation. Be careful
|
||||
to avoid making unwanted modifications.
|
||||
|
||||
Using the debugger and breakpoints on tool scripts is not currently supported.
|
||||
Breakpoints placed in the script editor or using the ``breakpoint`` keyword are
|
||||
ignored. You can use print statements to display the contents of variables
|
||||
instead.
|
||||
|
||||
Try ``@tool`` out
|
||||
-----------------
|
||||
|
||||
|
||||
@@ -48,6 +48,13 @@ You can use the buttons in the top-right corner to:
|
||||
- **Break**. This button pauses the game's execution.
|
||||
- **Continue**. This button resumes the game after a breakpoint or pause.
|
||||
|
||||
.. note::
|
||||
|
||||
Using the debugger and breakpoints on :ref:`tool scripts <doc_running_code_in_the_editor>`
|
||||
is not currently supported. Breakpoints placed in the script editor or using
|
||||
the ``breakpoint`` keyword are ignored. You can use print statements to
|
||||
display the contents of variables instead.
|
||||
|
||||
Errors
|
||||
------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user