how to enable error reporting in laravel 4.2 for debugging

realtekme picture realtekme · Jul 14, 2014 · Viewed 14.4k times · Source

I just have installed new laravel 4.2 using composer. I make syntax mistake deliberately on my router.php to see if an appropriate exception is thrown by the application on my browser screen, but instead a got this

Whoops, looks like something went wrong

.

i have checked the app/config.php file and changed "debug" = false to "debug" = true and it is not worked for me. Still I am getting the same message.

does any body know how to configure laravel 4 to display error message on my screen?

Answer

Laurence picture Laurence · Jul 14, 2014

You need to change app/config/local/app.php file - and set 'debug' => true,