1

Following this thread to use Whoops as debugger,

I'm not able to see chrome page like this:

enter image description here

but it looks like this no matter what error I get:

enter image description here

Things I've tried:

  1. run composer require filp/whoops --dev
  2. 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); }

  1. modify config/app.php

'debug' => env('APP_DEBUG', true)

  1. run php artisan config:clear

How can I bring Whoops to my Laravel5.2 project?

bluenowhere
  • 2,683
  • 5
  • 24
  • 37
  • Have you checked the `laravel.log` file in `storage/logs`? Or checked the `error.log`? – Blake Sep 18 '16 at 04:08
  • There's only some error logs recorded before I made these changes. Do I have to enable any render setting that I might be missing? – bluenowhere Sep 18 '16 at 13:59

0 Answers0