Send debug messages to the Maltego console.
165067
def debug(*args):
    """"""
    for i in args:
        click.echo('D:%s' % str(i), err=True)
524626
def debug(version=False):
    """"""
    if version:
        print(__version__)
        return
    print(json.dumps(MANAGE_DICT, indent=2))
1043304
public function notify(MessageInterface $message, $debug = false)
    {
        $payload = $this->serializer->serialize($message, 'json');

        $request = $this->client->post(
            '/services/hooks/incoming-webhook',
            array(),
            $payload,
            array('debug' => $debug)
        );

        $request->send();
    }
324680
def upload_debug(self):
        """"""
        if os.path.exists(self.log_fname):
            api = InternalApi()
            api.set_current_run_id(self.id)
            pusher = FilePusher(api)
            pusher.update_file("wandb-debug.log", self.log_fname)
            pusher.file_changed("wandb-debug.log", self.log_fname)
            pusher.finish()
452184
def set_debug(self, set_to=True):
        
        if set_to:
            StreamHandler(sys.stdout).push_application()
            self._log.level = logbook.DEBUG
        self.debug = set_to
1042949
def debug_transform(ctx, transform, params, value, fields):
    """"""
    from canari.commands.debug_transform import debug_transform
    debug_transform(transform, value, fields, params, ctx.project, ctx.config)
565250
function notifyDevtools(msg) {
    Object.keys(ports).forEach(function(portId_) {
        ports[portId_].postMessage(msg);
    });
}
213761
public static void debug(String msg, Object... args) {
		String tag = generateTag();
		if (!"".equals(tag)) {
			if (args.length > 0) {
				Log.d(tag, String.format(msg, args));
			} else {
				Log.d(tag, msg);

			}
		}
	}
1107376
private function receive_debug_log() {
	// handle error report
	if (isset($_POST['description']) && isset($_POST['log'])) {
		$msg = $_POST['log'];
		mail($this->classparams['errormail'], $_POST['description'], $msg);
	} else {
		if (isset($_SERVER['SERVER_ADMIN']))
		mail($_SERVER['SERVER_ADMIN'], 'Empty jupload error log',
                    'An empty log has just been posted.');
		$this->logPHPDebug('receive_debug_log', 'Empty error log received');
	}
	exit;
}
854792
protected function debug($message, $args = array()) {
    if ($this->output->getVerbosity() >= OutputInterface::VERBOSITY_VERBOSE) {
        /** @noinspection HtmlUnknownTag */
        $this->output->writeln('<fg=green>'.sprintf($message, $args));
        }
    }
1202815
private static void debug(String header, GatekeeperReply reply) {
	if (logger.isTraceEnabled()) {
	    logger.trace(header);
	    logger.trace(reply.toString());
	}
    }
911801
def message(m, fd=sys.stdout):
    """"""

    if sys.platform == 'win32':
        decoding = sys.stdout.encoding if sys.version_info[0] > 2 else 'cp1252'
        click.echo(MaltegoMessage(message=m).render(fragment=True, encoding='utf-8').decode(decoding), file=fd)
    else:
        click.echo(MaltegoMessage(message=m).render(encoding='utf-8', fragment=True), file=fd)
    exit(0)
1041772
function logDebug(message) {
  if (!debug) {
    return;
  }

  if (!enabled) return;
  console.log(os.EOL + chalk.cyan(message));
}
387412
def debug(self, msg, *args, **kwargs):
        
        kwargs.setdefault('inc_stackinfo', True)
        self.log(DEBUG, msg, args, **kwargs)
834328
public void debug(Object message, Throwable t) {
        logger.debug(String.valueOf(message), t);
    }
195851
def msg_debug(message):
    
    if _log_lvl == logging.DEBUG:
        to_stdout(" (*) {message}".format(message=message), colorf=cyan)
        if _logger:
            _logger.debug(message)
228559
def message(msg):
    """"""
    v = MaltegoMessage(message=msg).render(encoding='utf-8')
    return Response(v, status=200, mimetype='text/xml')