Debugging Hybrid Apps On a Mobile Device
You can debug hybrid apps while they’re running on a mobile device. How you do it depends on your development platform.
If you run into bugs that show up only when your app runs on a real device, you’ll want to use your desktop developer tools to troubleshoot those issues. It’s not always obvious to developers how to connect the two runtimes, and it’s not well documented in some cases. Here are general platform-specific steps for attaching a Web app debugger on your machine to a running app on a connected device.