Home  »  CodeSnippets   »   WordPress Enable Debug Mode

WordPress Enable Debug Mode

Posted: February 7, 2022 | by Michael Bright

Add this WordPress Enable Debug Mode (WP_DEBUG) in wp-config.php file:

define( 'WP_DEBUG', true );

Enable Debug logging to the /wp-content/debug.log file:

define( 'WP_DEBUG_LOG', true );

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.