End mobile development and debugging tools

A: weinre

1.1: Installation weinre:

npm install -g weinre (provided that you have installed node.js)

1.2: Start weinre

weinre --httpPort 8080 --boundHost -all-

After the successful launch will be the following tips shown in Fig.

Open the Google browser, type http: // localhost: 8080

Mobile browser opens the page address need to debug

In the local need to debug this page: <script src = "http://192.168.0.113:8080/target/target-script-min.js#anonymous"> </ script>

Which http://192.168.0.113 native ip address

After a successful start debugging

 

Tip: You can not debug js

Guess you like

Origin www.cnblogs.com/longTermHiredHand/p/11242722.html