- Log in to your hosting Control Panel account.
- Go to public_html folder.
- Locate the wp-config.php file for your WordPress website.
- Edit the wp-config.php file.
- To enable WP_Debug, add the following code to the end of the file:
/** * WordPress Debugging * * Set to "true" to enable wp_debug. Set to "false" to disable. * Do not include quotes when setting to "true" or "false". */ define( 'WP_DEBUG', true );
- To disable WP_Debug, change the last line to:
define( ‘WP_DEBUG’, false );
- Save the file.
↧
How to Enable or Disable WP_Debug Using your hosting Control Panel account
↧