# Enable/Disable Debug Messages

GrammarEnable|Enable/Disable debug messages
FlagsNative | Action

Enable or disable debug messages

# Arguments

Returns — void

native void TriggerDebugOutputEnable(bool inEnable);

Category: Debug / Trigger Debugging

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:4902

    TriggerDebugSetTypeFile(8, (libCore_gv_debugPathMVPLog + ".txt"));
    if ((libCore_gv_dEBUGDebuggingEnabled == false)) {
        TriggerDebugOutputEnable(false);
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:4850

    if ((libSprt_gv_dEBUGDebugMessagesEnabled == true)) {
        TriggerDebugOutput(1, StringExternal("Param/Value/lib_Sprt_5C253C81"), true);
        TriggerDebugOutputEnable(false);
        libSprt_gv_dEBUGDebugMessagesEnabled = false;
    }

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:4854

    }
    else {
        TriggerDebugOutputEnable(true);
        libSprt_gv_dEBUGDebugMessagesEnabled = true;
        TriggerDebugOutput(1, StringExternal("Param/Value/lib_Sprt_B619AFF5"), true);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:7248

    libSprt_gv_dEBUGDebugMessagesEnabled = !(libSprt_gv_dEBUGDebugMessagesEnabled);
    if ((libSprt_gv_dEBUGDebugMessagesEnabled == true)) {
        TriggerDebugOutputEnable(true);
    }
    else {

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:7251

    }
    else {
        TriggerDebugOutputEnable(false);
    }
    return true;

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4338

    TriggerDebugSetTypeFile(14, "ACScores.txt");
    if ((libCOOC_gv_cC_DevStart_Forced == false) && (GameCheatsEnabled(c_gameCheatCategoryDevelopment) == false)) {
        TriggerDebugOutputEnable(false);
    }