Get 15% Off! Use Coupon: GlowUp-15

The deal ends in

How to Turn on Debug Mode in WordPress


In this article we will discuss how to enable the WordPress Debug mode.

There are many reasons you may want to turn on the Debugging Mode in WordPress. It can be very helpful in troubleshooting Common WordPress issues.

Enabling Debug Mode in WordPress is one of the Common Troubleshooting Techniques.

We will walk you through how to Enable Debugging Mode in WordPress step-by-step below.

Turn On or Enable WordPress Debugging Mode via “wp-config.php” using File Manager in cPanel

In order to enable WordPress Debug mode you must edit your “wp-config.php” file. This is located in the document root for your WordPress installation on your domain.

Step 1. Log into cPanel

Step 2. Click on ‘File Manager

cPanel File Manager

Step 3. Locate the Document Root for your Domain. The Document Root for your Primary domain is ‘public_html’. Double click on the folder to move inside the directory.

Step 4. Right click on “wp-config.php” then click ‘Edit’

WordPress wp-config.php

How to rename the WordPress plugins folder

Step 5. Copy the following code then paste it into the bottom of your “wp-config.php” file.

define( ‘WP_DEBUG’, true );
define( ‘SCRIPT_DEBUG’, true );

Step 6. Click ‘Save‘ to save the file.

That’s it! You should now be able to see Errors in Your WordPress site.

Note! It is not recommended to enable WordPress Debugging Mode on a live Production Site as the Errors will be visible to anyone who browses to your Website. Instead you can Clone Your WordPress website and Enable Debug Mode on your Development Site.

→  How to Set up a WordPress Error Log

GlowFrog (1)

© 2022 GlowFrog Hosting, LLC. All rights reserved. | Proudly Powered by Vultr and Google Cloud

Get Notified.

Provide us with your email and we will keep you informed with latest updates and news.

Migrate Your WordPress Site to GlowFrog

Need Help Optimizing your WordPress Site?

Talk to our Experts and get a complimentary website review and consultation.