One-Stop remote page Debug Tool Spy-debugger 2.0, HTTPS enabled

Source: Internet
Author: User

Project Name: Spy-debugger Project Address: Https://github.com/wuchangming/spy-debugger

About Spy-debugger NPM Build Status

1, one-stop page debugging tools, remote debugging any mobile browser page, any mobile phone mobile webview (such as:, Hybirdapp, etc.) Http/https. 2, Spy-debugger internal integration of weinre. 3, support the debugging of HTTPS page.

Installation

Windows under

npm install spy-debugger -g

Mac under

sudo npm install spy-debugger -g

Install the certificate

First step: Generate a Certificate

spy-debugger initCA// 证书生成在用户根目录的node-mitmproxy文件夹下的// 如: /Users/wuchangming/node-mitmproxy

Step Two: Install the certificate

Upload the NODE-MITMPROXY.CA.CRT from the Node-mitmproxy folder to your phone and click Install.

Demo

Easily modify the mini-game page ^.^

Three minutes to get started

The first step: Keep your phone and PC under the same network (for example, connect to a Wi-Fi)

Second Step: command line Input Spy-debugger start, press the command prompt to open the corresponding address in the browser.

The third step: Set the phone's HTTP proxy, the proxy IP address is set to the IP address of the PC, the port is the boot port of Spy-debugger (default port: 9888).

Fourth step: Use your mobile browser to access the page you want to debug.

Custom Options

Port

(Default port: 9888)

Spy-debugger start-p 8888 Whether to let Weinre monitor the IFRAME loaded page

(Default: false)

Spy-debugger start-i true More

The Spy-debugger principle is integrated with the weinre, simplifying the weinre need to add JS code to each debug page. The Spy-debugger principle is to intercept all HTML page requests to inject weinre the JS code required. Make page debugging more convenient.

One-Stop remote page Debug Tool Spy-debugger 2.0, HTTPS enabled

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.