woocommerce-paypal-payments/docs/js-sdk-debug-mode.md

472 B

PayPal JS SDK debug mode

Enabling debug mode

Set WP_DEBUG constant to true. This will add the debug query parameter to the script URL, enabling debug mode.

What debug mode does

When debug mode is enabled, logging in browser console becomes much more detailed. Also, JS SDK is non-minified. There may be other debug features, but official PayPal documentation says almost nothing about debug mode.