WordPress Developer Hint
With WordPress 3.0 debugging will be easier, whereas one constants gets eliminated and an already existing constant will do their work.
For developers the following 3 constants are important and should exist in every wp-config.php of a development system. Please use it with precaution on a live system!
Add define(‘WP_DEBUG’, true); to wp-config.php to enable
the reporting of notices during development.
Add define(‘WP_DEBUG_DISPLAY’, false); to wp-config.php to
disable the display of errors.
Add define(‘WP_DEBUG_LOG’, true); to wp-config.php to log
eerrors to debug.log in the wp-content directory.
Sets PHP error handling and handles WordPress debug mode.
A small syntax with huge impact. I recommend this to everyone who is developing with WordPress, especially with Xdebug a fantastic help.