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?

2
  • Have you checked the laravel.log file in storage/logs? Or checked the error.log?
    – Blake
    Sep 18, 2016 at 4: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? Sep 18, 2016 at 13:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.