Scaffold new debugging and logging docs
This commit is contained in:
parent
53c93ab449
commit
17fec62a0b
|
@ -0,0 +1,26 @@
|
|||
# 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
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Logging in WooCommerce
|
||||
|
||||
Beyond the error logging available in WordPress, WooCommerce has its own robust system for logging, which can be used for debugging during development, catching errors on production, or even sending notifications when specific events occur.
|
||||
|
||||
|
Loading…
Reference in New Issue