Switches debug mode of the engine on or off. This does not interrupt
        other ongoing operations.
19423
def debug(self, on: bool = True) -> None:
        
        if on:
            self.send_line("debug on")
        else:
            self.send_line("debug off")
873900
def stop
      Debugger.stop if !@always_enabled && Debugger.started?
      if PryDebugger.current_remote_server   # Cleanup DRb remote if running
        PryDebugger.current_remote_server.teardown
      end
    end
1061398
def _debug(self):
        """"""
        self.window.blit(self.surfaceUp, (self.loc[0], 10))
        self.window.blit(self.surfaceOver, (self.loc[0], 60))
        self.window.blit(self.surfaceDown, (self.loc[0], 110))
        self.window.blit(self.surfaceDisabled, (self.loc[0], 160))
22130
public void debug(Object message, Throwable t) {
        differentiatedLog(null, CATEGORY_FQCN, LocationAwareLogger.DEBUG_INT, message, t);
    }
779012
private void switchToWindow(String key, String handleToKeep) {
        Context.addWindow(key, handleToKeep);
        Context.setMainWindow(key);
        Context.getDriver().switchTo().window(handleToKeep);
    }
166385
public final void setGeneratingDebug(boolean generatingDebug)
    {
        if (sealed) onSealedMutation();
        generatingDebugChanged = true;
        if (generatingDebug && getOptimizationLevel() > 0)
            setOptimizationLevel(0);
        this.generatingDebug = generatingDebug;
    }
59533
def switch_off(self):
        """"""
        success = self.set_status(CONST.STATUS_OFF_INT)

        if success:
            self._json_state['status'] = CONST.STATUS_CLOSED

        return success
1008224
public synchronized void stopDebugServer() {
        if (mDebugServer == null) {
            Log.e(TAG, "Debug server is not running.");
            return;
        }

        mDebugServer.shutdown();
        mDebugServer = null;
    }
1097274
def debugger():
    """"""
    sdb = _current[0]
    if sdb is None or not sdb.active:
        sdb = _current[0] = Sdb()
    return sdb
1366602
def switch_on(self):
        """"""
        success = self.set_status(CONST.STATUS_ON_INT)

        if success:
            self._json_state['status'] = CONST.STATUS_ON

        return success
1294345
def do_debug(self, args, arguments):
        
        filename = path_expand("~/.cloudmesh/cmd3.yaml")

        config = ConfigDict(filename=filename)
        if arguments['on']:
            self.set_debug(True)
        elif arguments['off']:
            self.set_debug(False)
223055
public void debug() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "*** Begin Header Debug ***");
            HeaderElement elem = this.hdrSequence;
            while (null != elem) {
                Tr.debug(tc, elem.getName() + ": " + elem.getDebugValue());
                elem = elem.nextSequence;
            }

            Tr.debug(tc, "*** End Header Debug ***");
        }
    }
826918
def development_mode=(flag)
      self[:development_mode] = flag
      self.level = Logger::DEBUG
      if new_logger
        new_logger.level = self.level if self.logger.respond_to?(:level=)
      end
    end
1318848
private final static int onBreak(Frame frame) {
        // We always fall back to Debugger.CONTINUE after each onBreak to avoid eternal step-over flag
        //int oldReturn = onBreakReturn;
        //onBreakReturn = Debugger.CONTINUE;
        //return oldReturn;
        if (verbose) {
            logger.info("Continuing with "+(onBreakReturn==Debugger.CONTINUE?"continue":"step-over"));
        }
        return onBreakReturn;
    }
306951
public static void setDebugging(boolean debugging) {
        FuzzyLite.debugging = debugging;
        if (isLogging()) {
            logger.setLevel(debugging ? Level.FINE : Level.INFO);
        }
    }
705223
public static void setDebugMode(boolean b) {
        debugMode = Boolean.valueOf( b );
        if (debugMode) {
            if (!MVELRuntime.hasDebuggerContext()) {
                MVELRuntime.setThreadDebugger(new MVELDebugger());
            }
        } else {
            MVELRuntime.resetDebugger();
        }
        System.setProperty( DEBUG_LAUNCH_KEY, debugMode.toString());
    }
406536
public void debug(Object message) {
        differentiatedLog(null, CATEGORY_FQCN, LocationAwareLogger.DEBUG_INT, message, null);
    }