My Main Blog

Saturday 22 November 2014

How to enable debug on in Laravel

How to enable debug on in Laravel

While working with laravel Framework you could face this error "Whoops, looks like something went wrong."
To overcome this error first you need to see what is the exact error in your code. to show exact error you need to set debug true in "app.php" file.

Follow below steps:
  1. Open "\app\config\app.php" file.
  2. Set " 'debug' => false" to 'debug' => true
 Now you can the exact error and fix the error.



No comments:

Post a Comment