Debugging a Hybrid App On an Android Device
To debug hybrid apps on Android devices, use Google Chrome.
The following steps summarize the full instructions posted at https://developer.chrome.com/docs/devtools/remote-debugging
-
Enable USB debugging on your device: https://developer.chrome.com/docs/devtools/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/docs/devtools/remote-debugging/local-server for details.
-