public function forDebug()
    {
        return tap(new PrettyPageHandler, function ($handler) {
            $handler->handleUnconditionally(true);

            $this->registerApplicationPaths($handler)
                 ->registerBlacklist($handler)
                 ->registerEditor($handler);
        });
    }
public function forDebug()
    {
        return tap(new PrettyPageHandler, function ($handler) {
            $handler->handleUnconditionally(true);

            $this->registerApplicationPaths($handler)
                 ->registerBlacklist($handler)
                 ->registerEditor($handler);
        });
    }
public function forDebug ( ) { return tap ( new PrettyPageHandler , function ( $ handler ) { $ handler -> handleUnconditionally ( true ) ; $ this -> registerApplicationPaths ( $ handler ) -> registerBlacklist ( $ handler ) -> registerEditor ( $ handler ) ; } ) ; }
Create a new Whoops handler for debug mode.

@return \Whoops\Handler\PrettyPageHandler
Create a new Whoops handler for debug mode .