Error reporting done right!

Better error messages, full syntax highlighting, code snippets and works for AJAX too!

Requirements

Installation

  • Download the php_error module
  • Place it in the folder /sites/all/modules of your Drupal site.
  • Download/save the PHP Error Library, it's just one file.
  • Create the folder php_error in /sites/all/libraries and place/save the php_error.php library file in it (the full path should look like /sites/all/libraries/php_error/php_error.php).
  • Enable the PHP Error module at /admin/modules
  • Configure the PHP Error module at /admin/config/development/php_error

Features

  • Errors displayed in the browser for normal and AJAX requests.
  • AJAX requests are paused, allowing you to automatically re-run them.
  • Makes errors as strict as possible (encourages code quality, and tends to improve performance).
  • Code snippets across the whole stack trace.
  • Provides more information (such as full function signatures).
  • Fixes some error messages which are just plain wrong.
  • Syntax highlighting.
  • Looks pretty!

Advanced Features

  • Customization.
  • Manually turn it on and off.
  • Run specific sections without error reporting
  • Ignore files allowing you to avoid highlighting code in your stack trace.
  • Application files; these are prioritized when an error strikes!

Project information

Releases