(1) Does the introduction of the new Web Platform feature break Chrome DevTools' existing developer experience?
No.
(2) Does Chrome DevTools' existing set of tooling features interact with the new Web Platform feature in an expected way?
Yes.
(3) Would the new Web Platform feature's acceptance and/or adoption benefit from adding a new developer workflow to Chrome DevTools?
The answer is a resounding “it depends”.
Debugging for this launch (adding PaymentRequest API to WebView) is supported in 3 ways:
JavaScript errors returned from the PaymentRequest API.
Chrome’s, WebView host app’s, and Android native payment app’s logs in `adb logcat`.
Chrome DevTools Console, which prints some error messages from PaymentRequest API that are useful for debugging.
However, there are 2 caveats to keep in mind:
Although Chrome DevTools has ability to show the Service Worker events that are fired into the Web Payment Handler (
https://w3c.github.io/payment-handler/), this launch is for Android native payment apps (
https://web.dev/articles/android-payment-apps-developers-guide), which, although being shipped in Clank for almost a decade, does not have support in Chrome DevTools.
In addition, the Payment Method Manifest fetches (
https://w3c.github.io/payment-method-manifest/), also implemented in Chrome for almost a decade, do not have support in Chrome DevTools. This is something that has been on our radar for the last few years (
https://crbug.com/40684658), but we never got around to implementing it.