Debugging a Hybrid App On an Android Device
The following steps summarize the full instructions posted at https://developer.chrome.com/devtools/docs/remote-debugging
- Enable USB debugging on your device: https://developer.chrome.com/devtools/docs/remote-debugging
- Open Chrome on your desktop (development) machine and navigate to: chrome://inspect
- Select Discover USB Devices.
- Select your device.
-
To use your device to debug a web
application that’s running on your development machine:
- Click Port forwarding….
- Set the device port and the localhost port.
- Select Enable port forwarding. See https://developer.chrome.com/devtools/docs/remote-debugging#port-forwarding for details.