woocommerce/docs/getting-started/debugging.md

806 B

post_title menu_title
Resources for debugging Debugging

WordPress

A good place to start is usually the debugging tools built into WordPress itself:

Logging

WooCommerce has a logging system that can be very helpful for finding and tracking errors on your site:

Xdebug

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: