How to Enable or Disable WP_Debug Using your hosting Control Panel account

  1. Log in to your hosting Control Panel account.
  2. Go to public_html folder.
  3. Locate the wp-config.php file for your WordPress website.
  4. Edit the wp-config.php file.
  5. 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 );
  6. To disable WP_Debug, change the last line to:
    define( ‘WP_DEBUG’, false );
  7. Save the file.
Was this article helpful to you? Yes 9 No 2