Laravel 5.6 Debug does not work

0

I do not know what to do anymore, debug de laravel 5.6 does not work. Logically I have = true in the .env file and in app.php and it still does not work probe also with the php artisan config commands: cache and nothing, if I do a dd (config ('app.debug')); the result is true, in the enviroment I have it in local but it still does not show me the errors I only get the message "Sorry, the page you are looking for could not be found." your help please.

    
asked by Patricio Garcés 13.04.2018 в 04:47
source

1 answer

0

You should enter the root folder of your project with the help of the command console, execute the following command:

php artisan cache:clear

Afterwards you will only have to modify the .env file; in the following line:

  

APP_DEBUG = false to disable detailed error view

     

APP_DEBUG = true to enable detailed error view

With these steps you will get what you need

To be able to observe the changes between one configuration and another, you need to stop the server if you are running php artisan serve , change from true to false or reverse and then again execute php artisan serve and you will see the desired changes

    
answered by 13.04.2018 в 05:05