Light Dark

*to close search form press ESC or close toggle

How to Enable WP_Debug In WordPress

  • Oleksandr Poslushnyak Oleksandr Poslushnyak
  • September 13, 2023
  • 1 min read
  • 179

Enabling WP_Debug: A Step-by-Step Guide

To enable WP_Debug and enhance your debugging capabilities, follow these straightforward steps:

  1. Locate the wp-config.php:
    • Begin by locating the wp-config.php.
  2. Edit the wp-config.php:
    • Right-click on the wp-config.php, then select the Edit option. This will allow you to make necessary modifications.
  3. Find the WP_DEBUG Setting:
    • Scroll through the file to find the define( ‘WP_DEBUG’) setting.
  4. Update the WP_DEBUG Setting:
    • Once you’ve located the WP_DEBUG setting, ensure that it reflects the desired status. To enable debugging, change define( ‘WP_DEBUG’, false) to define(‘WP_DEBUG’, true).

By following these simple steps, you’ll successfully activate WP_Debug and improve your ability to debug and troubleshoot WordPress effectively.