it-ony / payment-request

Feedback for the W3C Web Payments Browser API https://www.w3.org/TR/payment-request/
1 stars 0 forks source link

Dev Tools debugger cannot be used, if payment UI is shown #5

Closed it-ony closed 7 years ago

it-ony commented 7 years ago

If the payment UI is shown, you cannot use the debugger in the dev tools, as the UI is acting like a modal dialog.

Only way to help yourself out is to press ESC, which closes the UI and continue debugging, if you're already on a breakpoint or debugger statement. The problem here is, that even if you can continue debugging, the paymentRequest itself will be canceled.

click into the source code

rsolomakhin commented 7 years ago

Can you try detaching the debugger into its own window?

it-ony commented 7 years ago

@rsolomakhin, that works.