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.
Written by Ash
Related protips
1 Response
Nice tip. :)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#