show_debug_log

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.

 

Syntax:

show_debug_log(enable);

ArgumentTypeDescription
enableBooleanWhether to show the debug log

 

Returns:

N/A

 

Example:

show_debug_log(true);

The code above opens The Debug Overlay with the Log window open.