Last Updated: February 25, 2016
·
526
· oostie

Show all errors in Drupal while developing

You can show all errors by adding a few lines to your local testing site's settings.php:

error_reporting(-1);  
$conf['error_level'] = 2;  
ini_set('display_errors ', TRUE);  
ini_set('display_startup_errors', TRUE);  

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Related Tags
#php
#drupal
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside