Useful mobile Web application remote Debugging Tools Weinre

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.