Weinre is a tool for debugging JavaScript and CSS for a mobile device connected to a dev environment.

Your dev env serves as both the debug server and the debug client. Your mobile device (tethered to the dev env) serves as the debug target.

Server Installation - Ubuntu 14.04


I then tried the 'npm' command to run a quick check of the node.js installation.


Once Node.js and npm are installed:

sudo npm -g install weinre


Just a few bullet points on what I got going:

  • Wasn't able to use a bookmarklet to put the needed script into the page.
  • Injecting script into the appEntry.html (need to address the URL of the weinre server and keeping this out of SCM)
  • Make sure the URL is local to the network so the —boundHost -all- doesn't expose too much



Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License