pub fn is_debug_enabled(state: &DebugStateRef) -> bool
Whether a debug session is in effect (TS isDebugEnabled).
isDebugEnabled