Index: wp-settings.php
===================================================================
--- wp-settings.php	(revision 6725)
+++ wp-settings.php	(working copy)
@@ -172,6 +172,8 @@
  */
 define('WPINC', 'wp-includes');
 
+require (ABSPATH . WPINC . '/debug.php');
+
 if ( !defined('LANGDIR') ) {
 	/**
 	 * Stores the location of the language directory. First looks for language folder in wp-content 

