How To Enable Debug Mode in Drupal 8 & 9

02:26
590
12
2
0
4
Share
Feb 24, 2021

Many new Drupal developers get frustrated with the lack of help when they encounter the dreaded "The website encountered an unexpected error. Please try again later" error.

The normal solution is to click back in the browser, click on Reports and view the Recent Log Messages. The problem is - sometimes that doesn't work.

By adding one line of code to a Drupal file, you can push those errors to the screen as soon as they happen, enabling you to see just what went wrong right away.

In this video, Rod shows you just how to do that.

To learn more about Drupal and other CMS platforms, visit us at: https://www.OSTraining.com

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.