public function index()
    {
        if (! config('eyewitness.debug')) {
            return redirect(route('eyewitness.dashboard').'#overview')->withError('Sorry, but you need to enable eyewitness.debug mode to be able to view the debug page');
        }

        // Get all application config
        $config = Config::all();

        // Strip known sensitive config
        $config['services'] = null;
        $config['mail'] = null;
        $config['filesystems']['disks'] = null;

        // Now try to strip anything that might be senstive
        $this->recursive_unset($config, 'key');
        $this->recursive_unset($config, 'secret');
        $this->recursive_unset($config, 'password');

        return view('eyewitness::debug.index')->withEye(app(Eye::class))->withConfig($config);
    }