By default, this option is set to respect the value of the APP_DEBUG
environment variable, which is stored in your .env
file.
For local development, you should set the APP_DEBUG
environment variable to
true
. In your production environment, this value should always be false
. If the variable is set to true
in production, you risk
exposing sensitive configuration values to your application's end users.