jqfzyg
Last Updated: February 25, 2016
·
2.499K
· ash

Use weinre to inspect mobile browsers

weinre enables the use of the WebKit WebInspector remotely, via the inclusion of a JavaScript file on the client-side. This is very handy for debugging problems occurring on mobile browsers, which don't have an inspector baked in.

Phonegap hosts a weinre server at http://debug.phonegap.com/. Enter a random string for the guid and you're good to go. The service is incredibly easy to get started with.

You can alternatively run the weinre server locally for a faster experience. It's available on npm and instructions are available at http://people.apache.org/~pmuellr/weinre/docs/latest/Installing.html.

Say Thanks
Respond

1 Response
Add your response

136
Avatar

Nice tip. :)

over 1 year ago ·