Fix doc for print_debug

This commit is contained in:
Haoyu Qiu 2022-07-20 21:17:56 +08:00
parent e830d9d7cc
commit a3b282c6cc
1 changed files with 6 additions and 1 deletions

View File

@ -716,7 +716,12 @@
<method name="print_debug" qualifiers="vararg"> <method name="print_debug" qualifiers="vararg">
<return type="void" /> <return type="void" />
<description> <description>
Like [method print], but prints only when used in debug mode. Like [method print], but includes the current stack frame when running with the debugger turned on.
Output in the console would look something like this:
[codeblock]
Test print
At: res://test.gd:15:_process()
[/codeblock]
</description> </description>
</method> </method>
<method name="print_stack"> <method name="print_stack">