Following this thread to use Whoops as debugger,
I'm not able to see chrome page like this:
but it looks like this no matter what error I get:
Things I've tried:
- run
composer require filp/whoops --dev
- modify app/Exceptions/Handler.php
public function render($request, Exception $e) {
if (config('app.debug') && ! $request->ajax()) {
$whoops = new \Whoops\Run;
$whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler);
return $whoops->handleException($e);
}
return parent::render($request, $e);
}
- modify config/app.php
'debug' => env('APP_DEBUG', true)
- run
php artisan config:clear
How can I bring Whoops to my Laravel5.2 project?
laravel.log
file instorage/logs
? Or checked theerror.log
?