How to Enable WordPress Debug Mode

To enable WordPress Debug Mode:

  1. Navigate to your website's root directory.
  2. Open the wp-config file.
  3. 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);
Was this answer helpful? 0 Users Found This Useful (0 Votes)