Debugging Drupal Module Creation

Drupal

If you are in the process of creating a module for Drupal, you may want to activate debug messages to give you a heads up on what may be going wrong. If you would like to activate debug messages in your Drupal module development, add the following to the settings.php file:

  • error_reporting(-1) ;
  • ini_set(‘display_errors’, TRUE) ;
  • ini_set(‘display_startup_error’, TRUE) ;

Remember to remove this from your production site. ◕‿◕

Leave a Reply