Merge pull request #63243 from timothyqiu/print-debug-doc

[3.x] Fix documentation for `print_debug`
This commit is contained in:
Rémi Verschelde 2022-07-20 22:30:11 +02:00 committed by GitHub
commit 8c9485b6a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -716,7 +716,12 @@
<method name="print_debug" qualifiers="vararg">
<return type="void" />
<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>
</method>
<method name="print_stack">