Use your computer to debug your phone page

Source: Internet
Author: User
Tags install node

Weinre (WEb INspector remote) is a page debugging tool that is used primarily for remote debugging. Weinre is useful for debugging a page on a mobile device.

We need some steps to get weinre running, first we need to install node.js,weinre will run on node. JS, Next we will install

Node Package Manager (NPM), and finally, we'll install weinre.

The first step:

The simplest way to get node. js is to download Windows Installer. Because the Windows Installer has automatically downloaded NPM.

Step Two:

Install weinre, enter the execution directory for node and NPM, and execute the following command:


Install weinre

Step Three:

Run Weinre, now that weinre is installed, open a command-line window, go to the execution directory of node. js, and run the following command:

Node.exe node_modules\weinre\weinre--boundhost-all-

A weinre instance will be started.

Fourth Step:

On your mobile device, turn on weinre, open your Chrome browser, and type: http://ip:8080 on the Address bar. You put the target script on your Web page. Now you can debug your mobile page.

Use your computer to debug your phone page

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: 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.