Enabling, Disabling the WordPress debug setting

This is a handy feature that took a little while to figure out, but’s nice when WordPress is throwing you a blank page and you can’t figure out why.

To enable WordPress debugging on either MU or the standard version open up the wp-config.php file.

Add the code around line 100 (actually, this part doesn’t matter, but just a suggestion to keep wp-config.php organized):

// Turn Debugging On
define('WP_DEBUG',true);

To turn off debugging, just comment out the define line or change it to false (should work, never tried changing it to false yet).

——————————————
Keywords: WordPress, WordPress MU, Enable Debugging, Disable Debugging, Debug, WordPress PHP Error, PHP Error’s, PHP Errors, Turn on php error debugging

This entry was posted in Development, SilentGap, Web and tagged , , , , , , , , . Bookmark the permalink.

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>