27 lines
643 B
Markdown
27 lines
643 B
Markdown
|
# Debugging
|
||
|
|
||
|
|
||
|
|
||
|
## WordPress
|
||
|
|
||
|
WordPress itself has a basic toolset for debugging. It's usually a good place to start.
|
||
|
|
||
|
* [Debugging in WordPress](https://wordpress.org/documentation/article/debugging-in-wordpress/)
|
||
|
|
||
|
## Logging
|
||
|
|
||
|
https://woocommerce.com/document/create-a-plugin/#section-19
|
||
|
|
||
|
https://woocommerce.com/document/create-a-plugin/#section-22
|
||
|
|
||
|
## Xdebug
|
||
|
|
||
|
* [Using Xdebug](https://github.com/WordPress/gutenberg/tree/trunk/packages/env#using-xdebug)
|
||
|
|
||
|
## Helper functions
|
||
|
|
||
|
wc_print_r
|
||
|
https://github.com/woocommerce/woocommerce/blob/53c93ab4496968a1e45a08573ca52e21f16e8e47/plugins/woocommerce/includes/wc-core-functions.php#L2056-L2087
|
||
|
|
||
|
|