Enabling, Disabling the WordPress debug setting

December 18th, 2009 § 0

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

Tagged: , , , , , , , ,

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

What's this?

You are currently reading Enabling, Disabling the WordPress debug setting at SilentGap.

meta