weinre安装调试

1、命令行运行 npm install weinre -g(确保安装nodejs)。

2、weinre --boundHost 172.16.160.48(电脑ip)。

会提示:2017-10-18T09:01:53.121Z weinre: starting server at http://172.16.160.48:8080

3、访问命令行提示的页面。会看到如下界面。


4、在要调试的页面注入target script的js。

5、访问debug client user interface的链接,可以看到调试的界面。


你可能感兴趣的:(weinre安装调试)