setDebugFlag static method
Sets the state of a debug flag.
flag The debug flag to set DebugFlag.
on Specifies whether the debug flag is enabled (true) or disabled (false).
Example:
LocationWindow.setDebugFlag(DebugFlag.INFOS, true);
LocationWindow.setDebugFlag(DebugFlag.STATS, false);
print("Updated debug flags on LocationWindow");
Implementation
static void setDebugFlag(DebugFlag flag, bool on) => $prototype.setDebugFlag(flag, on);