---
title: "How to Use WP Debugging"
description: "When operating a WordPress site with multiple users, it can be difficult to identify potential sources of bugs and errors. Using a plugin such as WP Debugging automatically enables your WordPress..."
url: https://www.inmotionhosting.com/support/edu/wordpress/plugins/wp-debugging/
date: 2022-06-16
modified: 2023-10-27
author: "InMotion Hosting Contributor"
categories: ["WordPress Plugins"]
type: post
lang: en
---

# How to Use WP Debugging

When operating a WordPress site with multiple users, it can be difficult to identify potential sources of bugs and errors. Using a plugin such as [WP Debugging](https://wordpress.org/plugins/wp-debugging/) automatically enables your WordPress site to display helpful error messages and bug codes. With this information you can more easily troubleshoot your website and resolve issues. In this article we will provide a brief description of key features of the WP Debugging plugin and provide basic instructions for its use. 

Topics include:

- [Enabling WordPress Errors](#enable)
- [Add-On Plugin Compatible](#add)
- [Modifying WP Debugging Settings](#modify)

## Enabling WordPress Errors

No matter how well a website is designed, it is always possible for errors and bugs to appear. Sometimes this can result from installing a new plugin or theme, or sometimes it can be an issue with the database or scripts being used for the site. To help troubleshoot these issues, a technique known as debugging can identify the cause of errors and guide you to a solution.

As mentioned previously, installing [WP Debugging](https://wordpress.org/plugins/wp-debugging/) and activating the plugin immediately enables the following error logging features:

`**WP_DEBUG_LOG**` – When set to **true**, this feature enables logging of WordPress errors.

`**SCRIPT_DEBUG**` – When set to **true**, this feature will debug any scripts that are being run on the site, such as those used by WordPress plugins or themes. 

`**SAVEQUERIES**` – When set to **true**, this feature saves all site queries to help identify which queries lead to errors.

In order to activate these features, WP Debugging automatically updates the **wp-config.php** file to set the above values from **false** to **true**. While this same action can be performed manually, using WP debugging does it for you. Additionally, the plugin preserves the original settings, so when WP debugging is deactivated, the settings will revert to their original values. This is useful if you need to quickly check a page of your site for errors but don’t want unsightly error messages to clutter your publicly visible web pages in the long term.

## Add-On Plugin Compatible

WP debugging also supports integration with the query bar and query monitor plugins, which add more functionality for debugging and troubleshooting. The query monitor plugin allows you to troubleshoot database queries and PHP errors. The debug bar plugin adds debugging options directly to the WordPress admin bar, making it easy to debug individual pages rapidly.   

## Modifying WP Debugging Settings

While WP Debugging automatically updates the wp-config.php file to enable error logging, there are a few settings you can customize. Please note that the wp-config.php file needs to be writable by the system so it can perform the necessary automatic modifications.

![](https://www.inmotionhosting.com/support/wp-content/uploads/2022/06/wpdebugging-1024x461.png)

1. First, [log into your WordPress dashboard](https://www.inmotionhosting.com/support/edu/wordpress/logging-into-wordpress-dashboard/).
2. Next, navigate to **Tools > WP Debugging**.
3. On the next page you will see a section labeled **Debugging Constants**. To modify these settings, please review the following options:Set `WP_DEBUG` to **true** – Enables debugging. Set `WP_DEBUG_DISPLAY` to **false** – Enables the display of error messages.
4. Once done, click **Save Changes**.

Congratulations, you now know how to modify WP Debugging settings.

## Next Steps

To help you better organize your WordPress site and avoid potential errors, consider [installing a user management plugin](https://www.inmotionhosting.com/support/edu/wordpress/plugins/top-5-user-role-editor-plugins/) to help you manage various user roles and permissions.

Say goodbye to slow loading times and hello to high-performance websites with our [WordPress VPS Hosting](https://www.inmotionhosting.com/vps-hosting/wordpress?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=wp-cta2) plans. Experience 40x faster WordPress page load speeds on purpose-built servers that guarantee 99.99% uptime.

![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)High-Performance VPS ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Premier Care ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Free SSL & Dedicated IP ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Advanced Server Caching

[Managed WordPress VPS](https://www.inmotionhosting.com/vps-hosting/wordpress?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=wp-cta2)
