How to Enable WordPress Debug Mode

In the root directory of your WordPress installation, locate the wp-config file.

Find:

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);

This enables WordPress debug mode and displays PHP warnings, notices, and errors.

For security and performance reasons, do not leave debug mode enabled after troubleshooting is complete.

See also:

How to Log Website Errors in WordPress

Was this answer helpful? 0 Users Found This Useful (0 Votes)