The Weinre debugging feature allows you to debug your app while testing it in the browser or on a device. To enable Weinre debugging open the App settings, and check the Enable Weinre debugging box.
Cordova Plug-in Requirement
For Weinre Debugger to work properly the Console Cordova plug-in has to be enabled in your app.
A debugging URL will appear. When testing the app you can open the link or click Launch in debugger.
Open the app Preview in browser, click Test or on the device scan the QR code, otherwise you can install the app binary file on a device.
You’ll see all of the target devices and client browsers connected to the debugger. If you are running multiple application instances, multiple targets are shown (the active target is highlighted with green). Select the device that you are going to debug:
Open the Elements view to inspect the DOM elements, (you can edit attributes, styles and properties). The actual component layout is instantly highlighted in the running app:
In the Resources view, you can see the local storage and session storage variables. The Network inspector allows you to see all of the network requests (except JSONP requests):