drupal 8 show php errors settings.php
To show PHP errors in Drupal 8's settings.php
file, you can add the following code:
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
This code sets the error reporting level to display all errors, and enables the display of errors and startup errors.
Please note that it's important to disable error display in a production environment for security reasons. It's recommended to only enable error display in a development or testing environment.