How to enable debug mode in Laravel

.env

Local development

APP_DEBUG=true

Production environment

APP_DEBUG=false