To configure the error messages visibility, set an appropriate configuration in the settings.php
file
// Show all error messages, including notices and coding standards warnings.
$config['system.logging']['error_level'] = 'verbose';
File: /path/to/docroot/sites/<SITE_NAME>/settings.php
.
Then clear the Drupal cache.
Here are the possible values you can use for error_level
:
hide
: Do not display any errors.some
: Only show errors and warnings.all
: Show all errors (notices, warnings, and errors).verbose
: Show all errors including notices and coding standards warnings.