WordPress Debug Mode

20/08/2024
WordPress Debug Mode

If there’s an issue in the system on WordPress, you can enable debug mode to identify the source of the problem. When debug mode is activated, WordPress shows which plugin or file path is causing the issue.

How to Enable WordPress Debug Mode?

Open the wp-config.php file, which is one of the files that make up WordPress in the root directory. By default, it comes as define('WP_DEBUG', false). Change it to define('WP_DEBUG', true).

define('WP_DEBUG', true);

Example of debug mode error message:

WP Debug Mode Message Example