public enableDebugger ( $logDirectory = NULL, $email = NULL ) : void | ||
return | void |
public function enableDebugger($logDirectory = NULL, $email = NULL)
{
Tracy\Debugger::$strictMode = TRUE;
Tracy\Debugger::enable(!$this->parameters['debugMode'], $logDirectory, $email);
Nette\Bridges\Framework\TracyBridge::initialize();
}
/** * @param Configurator * @return void */ protected function setupDebugger(Configurator $configurator) { if (($allowedIPsForDebugging = $this->options->getAllowedIPsForDebugging()) !== NULL) { $configurator->setDebugMode($allowedIPsForDebugging); } $configurator->enableDebugger($this->options->getLogDirectory(), $this->options->getErrorNotificationEmail()); }