The "vngen_do_debug" Function

Syntax

vngen_do_debug(toggle, [sound]);
ArgumentTypeDescription
toggleboolean/macroEnables, disables, or toggles debug mode
[sound]soundOptional: A sound to be played when the script is run

Description

Toggles or explicitly enables/disables VNgen's built-in debug mode. Debug mode is disabled by default. When enabled, DEBUG MODE will be printed across the top-left corner of the display. While this notice is visible, pressing the tilde (~) key will open and close VNgen's command console. Typing help in the command console will display a list of available debug commands.

See Macros & Keywords for a full list of behavior settings.

Example

vngen_do_debug(toggle);
vngen_do_debug(true, snd_input);