Show all errors while developing in Drupal

Add the following lines to your local drupal site’s settings.php.

error_reporting(-1);
$conf['error_level'] = 2;
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
Categories: Drupal, PHP Tags: , , , ,
%d bloggers like this: