How to Change WordPress Debugging Mode
Last updated
Last updated
The WordPress platform offers a debug tool to help identify the cause of errors on your website. While this tool can display information directly on your live site, it is not recommended for publicly accessible websites. Instead, it’s better to create a debug log file, which you can review to pinpoint the issue you’re trying to resolve.
You can do this in a few steps:
Access the wp-config.php
file by going through; WP Dashboard>> File Manager>> example.com (main domain folder), also known as/public_html
directory.
the wp-config.php
file, then find and change a line;
- To Enable WP_Debug, you can change the line to: define( 'WP_DEBUG', true )
.
- To Disable WP_Debug, you can change the line to: define( 'WP_DEBUG', false )
.
Save changes.