Displaying errors in Drupal 7

When building Drupal 7 sites, developers need to be alerted to information about any and all errors. To display these important messages locally, simply insert this bit of code into your settings.php file:

These few lines of code will provide the developer detailed information about all errors and prevent the appearance of “the white screen of death.”