Gajus\Bugger\Bugger::trace PHP Method

trace() public static method

Terminates the script, discards the output buffer, dumps information about the expression including backtrace up to the trace call.
public static trace ( mixed $expression = null ) : null
$expression mixed The variable you want to dump.
return null
    public static function trace($expression = null)
    {
        while (ob_get_level()) {
            ob_end_clean();
        }
        static::$tracestack = [static::getBacktrace()];
        exit;
    }