public static function runDebuger($view = null) {
        self::$debugbar = new Debugger();
        self::$assets_url = base_url() . '/assets/DebugBar/Resources';
        self::addQueries();
        self::addMessages();
        self::addRoute($view);

        self::$debugbarRenderer = self::$debugbar->getJavascriptRenderer()->setBaseUrl(self::$assets_url);

        return self::$debugbarRenderer;
    }