src/CarteBlanche/App/Kernel.php
public function shutdown(&$arg = null, $callback = null)
    {
        if ($this->getDebug() && false===$this->is_shutdown) {
            return \DevDebug\Debugger::shutdown(true, $callback);
        }
    }
public function shutdown(&$arg = null, $callback = null)
    {
        if ($this->getDebug() && false===$this->is_shutdown) {
            return \DevDebug\Debugger::shutdown(true, $callback);
        }
    }
Application specific shutdown handling