Debug

To enable debug mode:

define(‘WP_DEBUG’, true);

To display debug message as pages are generated:

define( ‘WP_DEBUG_DISPLAY’, true );

Will force WordPress to use non-minified versions of CSS and JS files:

define( ‘SCRIPT_DEBUG’, true );

Keeps a log of the database queries in an array ($wpdb->queries):

define(‘SAVEQUERIES’, true);