In mobile Web applications, because there are no chrome-like and Firebug Debugging tools, debugging is more cumbersome than on the PC, sometimes only can be repeated to change the comparison, but using weinre we can easily do remote debugging functions.
What is Weinre?
Official explanation: We mean web,in refers to Inspector. Re refers to remote. Together it is weinre.
Http://people.apache.org/~pmuellr/weinre/
How to install?
Weinre based on node, using NPM high-speed installation:
npm install weinre
Use
Use the command "Weinre--boundhost-all-" to start. Open Local Browser access http://localhost:8081
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbg1lbmdsb3zl/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
Add the following markup to the page you need to debug
<script src= "Http://localhost:8080/target/target-script-min.js#anonymous" ></script>
The Debug page is displayed and you can debug the http://localhost:8080/client/#anonymous
Useful mobile Web application remote Debugging Tools Weinre