How to Turn on Debugging in Drupal 8 or Drupal 9

Dec 24, 2020

If you've worked on theming or module development in Drupal, you've seen the "The website encountered an unexpected error. Please try again later." message. Debugging this in Drupal 8 or Drupal 9 gets a lot easier when you turn that feature on. In this OSTips, Rod shows you how to bring error messages to the browser for easier troubleshooting.

To learn more about Drupal, visit

Hi! I'm Karim Boudjema, the developer and site-builder of this site.

I was wondering how could I giving back to the Drupal community all what it gave to me during the last 10 years, that's how the idea of this site came to me ... (read more)

Hi! I’m Santiago Rico, the web designer and themer of this site.

When Karim proposed me to design and theme this site for the Drupal community, I accepted immediately because the community is the main reason why I love Drupal so much.