Set the debugging flag.

@param debugF
The new debug setting.
11840
public void setDebug(boolean debugF) {
        this.debug = debugF;
        if (this.tarIn != null) {
            this.tarIn.setDebug(debugF);
        } else if (this.tarOut != null) {
            this.tarOut.setDebug(debugF);
        }
    }
764156
public void debug(String message, Object... args) {
    if (isDebugEnabled()) {
      debug(String.format(message, args), getThrowable(args));
    }
  }
425164
public static void debug(Object message) {
		log(Level.DEBUG, message, null, (Object[])null);
	}
863336
public function setDebugMode($flag) {
		if (function_exists("ini_set")) {
			ini_set("display_errors", $flag ? "on" : "off");
		}
	
		if ($flag === true) {
			error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
			Exception::setDebugMode(true);
		} else {
			error_reporting(0);
			Exception::setDebugMode(false);
		}
	
		Exception::setLogPath(APP_DATA_PATH . "data/error_log/" . date("y-m-d") . ".log");
	}
237046
def activate_debug():
    
    ch = logging.StreamHandler()
    ch.setLevel(logging.DEBUG)
    logger.addHandler(ch)
    logger.setLevel(logging.DEBUG)
714412
public void debugf(String format, Object param1) {
        if (isEnabled(Level.DEBUG)) {
            doLogf(Level.DEBUG, FQCN, format, new Object[] { param1 }, null);
        }
    }
597146
public void debug(Object message)
    {
        if (IS12)
        {
            getLogger().log(FQCN, Level.DEBUG, message, null);
        }
        else
        {
            getLogger().log(FQCN, Level.DEBUG, message, null);
        }
    }
1171276
def set_debug_level(self, level):
        

        yield from self._hypervisor.send('vm set_debug_level "{name}" {level}'.format(name=self._name, level=level))
219319
def set_debug(self, debug=1):
        
        self._check_if_ready()
        self.debug = debug
        self.main_loop.debug = debug
46681
def debug(self,onOff,level='DEBUG'):
		'''
		
		'''
		if onOff:
			if level == 'DEBUG':
				self.log.setLevel(logging.DEBUG)
				self._ch.setLevel(logging.DEBUG)
				self.log.debug("Debugging level DEBUG enabled")
			elif level == "INFO":
				self.log.setLevel(logging.INFO)
				self._ch.setLevel(logging.INFO)
				self.log.info("Debugging level INFO enabled")
			elif level == "WARN":
				self.log.setLevel(logging.WARN)
				self._ch.setLevel(logging.WARN)
				self.log.warn("Debugging level WARN enabled")
			elif level == "ERROR":
				self.log.setLevel(logging.ERROR)
				self._ch.setLevel(logging.ERROR)
				self.log.error("Debugging level ERROR enabled")
		else:
			self.log.setLevel(logging.ERROR)
			self._ch.setLevel(logging.ERROR)
			self.log.error("Unrecognized debug level `%s`, set to default level `ERROR` instead",level)
868856
public static void setDebugFlags(JShell state, int flags) {
        if (debugMap == null) {
            debugMap = new HashMap<>();
        }
        debugMap.put(state, flags);
    }
602181
final public function setDebug($callback = true)
    {
        if ($callback === true) {
            if (php_sapi_name() === 'cli') {
                $callback = new DebuggerOutConsole();
            } else {
                $callback = new DebuggerOutHtml();
            }
        }
        $this->debugCallback = $callback;
    }
642374
public static void setDebug(boolean debug) {
        FallbackLoggerConfiguration.debug.set(debug);
        if (!debug) {
            trace.set(false);
        }
    }
1104266
public final void debug(Object message, Throwable t) {
        if (isLevelEnabled(LOG_LEVEL_DEBUG)) {
            log(LOG_LEVEL_DEBUG, message, t);
        }
    }
248908
public final void debug(Object message) {

        if (isLevelEnabled(SimpleLog.LOG_LEVEL_DEBUG)) {
            log(SimpleLog.LOG_LEVEL_DEBUG, message, null);
        }
    }
1180561
public function set_debug($enable)
    {
        if ($enable === true || $enable === false) {
            $this->debug = $enable;

            return true;
        }

        trigger_error('Error: the parameter for set_debug() must be boolean');

        return false;
    }
606767
def set_debug_listener(stream):
    """"""

    def debugger(sig, frame):
        launch_debugger(frame, stream)

    if hasattr(signal, 'SIGUSR1'):
        signal.signal(signal.SIGUSR1, debugger)
    else:
        logger.warn("Cannot set SIGUSR1 signal for debug mode.")