How to debug and enable php error reporting in drupal 8

While there are many ways to debug your errors, sometimes just seeing the full errors in your screen works best.

Enable error reporting by adding the following snippet to your settings.php:

$config['system.logging']['error_level'] = 'verbose';

 

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!