How to Enable WordPress Debug Mode (WP Debugging)
Enabling WP Debugging is needed to troubleshoot the issues on your site. If you're experiencing errors or performance problems, learning to enable WordPress Debug can help you pinpoint the root cause. This article will guide you through enabling WordPress Debug by modifying the wp-config file, ensuring you have the tools to identify and resolve any issues.
Enable WordPress Debug
To enable WordPress debugging, follow these steps:
- Log in to your Blueshost Account Manager.
- Click the Websites tab on the left navigation menu.
- If you have only one website package, you will go directly to its Overview page.
- If you have multiple websites, all the websites will be listed. Click Settings to access the Overview menu of the desired site.
- From the horizontal menu, select the FILES & ACCESS.
- Navigate to the File Manager section, and click on the MANAGE button.
- The File Manager will open a new tab, highlight the wp-config.php file, and right-click your mouse to show a drop-down menu, and then click the Edit icon from the Toolbar.
- A pop-up window for the Character Encoding Verification dialogue box will appear, and then click the Edit button again.
Note: Depending on your File Manager settings, the Character Encoding Verification may not appear.
- Scroll down to locate the define( 'WP_DEBUG') setting.
- Make sure to update the define( 'WP_DEBUG'), setting to reflect this:
define('WP_DEBUG', true);
- Click the Save Changes button located at the upper right side. button located at the upper right side.
Note: Once you identify the error based on the result, you may start troubleshooting. Refer to the How to Troubleshoot Website Issues on Bluehost article. Once you are done with troubleshooting, make sure to switch the define ( 'WP_DEBUG') from true to false.
define('WP_DEBUG', false)
Alternative Way to Access File Manager
Aside from the Websites tab via File Manager, the File Manager can be accessed through the FTP client.
See FTP Create and Manage FTP Accounts for your Website for more information.
Summary
Anyone who wants to properly troubleshoot their website must know how to enable WordPress Debug. WP Debugging enables you to identify and fix errors that could disrupt the functionality of your website. Remember to update the wp-config file as outlined in this guide.
If you need further assistance, feel free to contact us via Chat or Phone:
- Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
- Phone Support -
- US: 888-401-4678
- International: +1 801-765-9400
You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.