Index: wp-settings.php
===================================================================
--- wp-settings.php	(revision 6146)
+++ wp-settings.php	(working copy)
@@ -96,7 +96,11 @@
 timer_start();
 
 // Change to E_ALL for development/debugging
-error_reporting(E_ALL ^ E_NOTICE);
+if (defined('WPDEBUG') && WPDEBUG == true) {
+    error_reporting(E_ALL);
+} else {
+    error_reporting(E_ALL ^ E_NOTICE);
+}
 
 // For an advanced caching plugin to use, static because you would only want one
 if ( defined('WP_CACHE') )
