2023-11-29 18:48:05 +00:00
---
post_title: Resources for debugging
2024-01-16 19:29:00 +00:00
menu_title: Debugging
2023-11-29 18:48:05 +00:00
---
2023-08-24 19:42:38 +00:00
## WordPress
2023-08-25 21:08:10 +00:00
A good place to start is usually the debugging tools built into WordPress itself:
2023-08-24 19:42:38 +00:00
* [Debugging in WordPress ](https://wordpress.org/documentation/article/debugging-in-wordpress/ )
## Logging
2023-08-25 21:08:10 +00:00
WooCommerce has a logging system that can be very helpful for finding and tracking errors on your site:
2023-08-24 19:42:38 +00:00
2023-08-29 21:05:23 +00:00
* [Logging in WooCommerce ](../utilities/logging.md )
2023-08-24 19:42:38 +00:00
## Xdebug
2023-08-25 21:08:10 +00:00
If you're using `wp-env` to run a local development environment (this is the recommended method for the WooCommerce monorepo), you can activate Xdebug and then use an IDE like VS Code or PhpStorm to set breakpoints and step through the code as it executes:
2023-08-24 19:42:38 +00:00
2023-08-25 21:08:10 +00:00
* [Using Xdebug ](https://github.com/WordPress/gutenberg/tree/trunk/packages/env#using-xdebug )