How to Enable WordPress Debug Mode
To enable WordPress Debug Mode:
- Navigate to your website's root directory.
- Open the
wp-configfile. - Locate the following line:
define('WP_DEBUG', false);
Change it to:
define('WP_DEBUG', true);
Save the file. WordPress will now display errors, warnings, and notices in the browser.
Important: Disable Debug Mode after troubleshooting is complete.
Change:
define('WP_DEBUG', true);
back to:
define('WP_DEBUG', false);