diff --git a/pkg/ddevapp/drupal/drupal10/settings.ddev.php b/pkg/ddevapp/drupal/drupal10/settings.ddev.php index d547c72d688..97074992941 100644 --- a/pkg/ddevapp/drupal/drupal10/settings.ddev.php +++ b/pkg/ddevapp/drupal/drupal10/settings.ddev.php @@ -52,3 +52,7 @@ $config['symfony_mailer.mailer_transport.sendmail']['configuration']['pass']=''; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['host']='localhost'; $config['symfony_mailer.mailer_transport.sendmail']['configuration']['port']='1025'; + +// Enable verbose logging for errors. +// https://www.drupal.org/forum/support/post-installation/2018-07-18/enable-drupal-8-backend-errorlogdebugging-mode +$config['system.logging']['error_level'] = 'verbose'; diff --git a/pkg/ddevapp/drupal/drupal7/settings.ddev.php b/pkg/ddevapp/drupal/drupal7/settings.ddev.php index 677bdfd1d51..f2e087c7865 100644 --- a/pkg/ddevapp/drupal/drupal7/settings.ddev.php +++ b/pkg/ddevapp/drupal/drupal7/settings.ddev.php @@ -29,3 +29,7 @@ ); $drupal_hash_salt = '{{ $config.HashSalt }}'; + +// Enable verbose logging for errors. +// https://www.drupal.org/docs/7/creating-custom-modules/show-all-errors-while-developing +$conf['error_level'] = 2; diff --git a/pkg/ddevapp/drupal/drupal8/settings.ddev.php b/pkg/ddevapp/drupal/drupal8/settings.ddev.php index 393f4ba7c9a..014e6d78818 100644 --- a/pkg/ddevapp/drupal/drupal8/settings.ddev.php +++ b/pkg/ddevapp/drupal/drupal8/settings.ddev.php @@ -61,3 +61,6 @@ $config['swiftmailer.transport']['smtp_port'] = '1025'; $config['swiftmailer.transport']['smtp_encryption'] = '0'; +// Enable verbose logging for errors. +// https://www.drupal.org/forum/support/post-installation/2018-07-18/enable-drupal-8-backend-errorlogdebugging-mode +$config['system.logging']['error_level'] = 'verbose'; diff --git a/pkg/ddevapp/drupal/drupal9/settings.ddev.php b/pkg/ddevapp/drupal/drupal9/settings.ddev.php index ce7556a95e3..3b6ea95306a 100644 --- a/pkg/ddevapp/drupal/drupal9/settings.ddev.php +++ b/pkg/ddevapp/drupal/drupal9/settings.ddev.php @@ -58,3 +58,7 @@ $config['swiftmailer.transport']['smtp_host'] = '127.0.0.1'; $config['swiftmailer.transport']['smtp_port'] = '1025'; $config['swiftmailer.transport']['smtp_encryption'] = '0'; + +// Enable verbose logging for errors. +// https://www.drupal.org/forum/support/post-installation/2018-07-18/enable-drupal-8-backend-errorlogdebugging-mode +$config['system.logging']['error_level'] = 'verbose';