WordPress: How to Enable or Disable WP_DebugIn order to Enable or Disable the WP_Debug, you need to know first where the WordPress Site is located. You can check on it by following the first 4 steps. In case you know where the WordPress files are located, you can proceed to Step #5.
- Log in to your Domains Dashboard.
- Click on the Domain Name or the Cog icon.
- Hit Pointers & Subdomains.
- The next page will show you the directory or path where the WordPress files are in.
- Next, go to your Hosting Dashboard.
- Go to File Manager on the left pane.
- In the highlighted Directory, look for the name of the folder where the files are.
- Locate the wp-config.php for your WordPress file then click on the three-dotted options, then Edit.
- To Enable WP_Debug, change the last line to: define( 'WP_DEBUG', true ).
- To Disable WP_Debug, change the last line to: define( 'WP_DEBUG', false ).
- Click Save for the changes to take effect.
Are there more debugging tools?
WP_Debug as designed to work with additional tools, which are enabled the same way as WP_Debug.
define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
Learn more about WP_Debug_Log and WP_Debug_Display by visiting WordPress.org.
Important: WP_Debug_Log will store records of your error messages on your hosting account. These records take up disk space, so we recommend only having it active while you are troubleshooting your website. If you leave it on for an extended period of time, you could run the risk of eventually violating our normal usage policy.