Posted By

chrisdpratt on 05/21/10


Tagged

debug wordpress


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jonkemp


Wordpress Debug Config


 / Published in: PHP
 

  1. /** Debugging WP */
  2. define('WP_DEBUG', true); //enable the reporting of notices during development - E_ALL
  3. define('WP_DEBUG_DISPLAY', true); //use the globally configured setting for display_errors and not force errors to be displayed
  4. define('WP_DEBUG_LOG', true); //error logging to wp-content/debug.log
  5. define('SCRIPT_DEBUG', true); //loads the development (non-minified) versions of all scripts and CSS and disables compression and concatenation,
  6. define('E_DEPRECATED', false); //E_ALL & ~E_DEPRECATED & ~E_STRICT
  7.  
  8. define('AUTOSAVE_INTERVAL', '300'); // Autosave interval
  9. define('SAVEQUERIES', true); // Analyse queries
  10. define('WP_POST_REVISIONS', false);

Report this snippet  

You need to login to post a comment.