This function opens The Debug Overlay with only the Log window open. This overlay is disabled by default.
This window allows you to enter basic commands in the text input at the bottom. See the Log section for more info.
NOTE All scripts are executed within the scope of the global struct.
NOTE To bring up The Debug Overlay with the FPS window open, use show_debug_overlay instead.
show_debug_log(enable);
Argument | Type | Description |
---|---|---|
enable | Boolean | Whether to show the debug log |
N/A
show_debug_log(true);
The code above opens The Debug Overlay with the Log window open.