Debug a web component on an Android device

You can enable the debugging of a Web component through Chrome.

This procedure requires:

You need enable the GMA debug mode and follow the instructions provided at https://developer.chrome.com/devtools/docs/remote-debugging#configure-webview

  1. Connect your device to your desktop with a USB cable.
  2. If GMA is running on your device, stop GMA on your device.
  3. Enable USB debugging on the device.
  4. Run your application with a web component.
    Tip: Please be patient as the application may take longer to start.
    GMA starts with debug service enabled.
  5. Open Chrome on your desktop.
  6. In the Chrome address bar, enter chrome://inspect/#devices.
  7. Check Discover USB devices.
  8. Accept the USB debugging on your device.
A list of URLs appear. You can inspect the individual pages.