使用weinre调试移动端访问的页面
2014-03-12 21:20
253 查看
一、安装
npm -g install weinre
二、启动服务器
weinre [options]
//The server will run until you kill it. Control-C will do the job.
Options available are:
--help (or -? or -h)
Display this help.
--httpPort [portNumber]
--boundHost [hostname | ip address
--verbose [true | false]
--debug [true | false]
启动示例:weinre --boundHost 192.168.1.100 --httpPort 8081
成功访问http://192.168.1.100:8081/ ,表示服务端启动成功。
三、使用:
1、在调试页面添加
<script src="http://192.168.1.100:8081/target/target-script-min.js#anonymous"></script>
2、用移动端浏览器访问要调试的页面.
3、用chrome访问http://192.168.1.100:8081/client/
而后可如chrome在pc上调试页面一样,看到页面的dom结构、网络请求等。效果如下。
npm -g install weinre
二、启动服务器
weinre [options]
//The server will run until you kill it. Control-C will do the job.
Options available are:
--help (or -? or -h)
Display this help.
--httpPort [portNumber]
--boundHost [hostname | ip address
--verbose [true | false]
--debug [true | false]
启动示例:weinre --boundHost 192.168.1.100 --httpPort 8081
成功访问http://192.168.1.100:8081/ ,表示服务端启动成功。
三、使用:
1、在调试页面添加
<script src="http://192.168.1.100:8081/target/target-script-min.js#anonymous"></script>
2、用移动端浏览器访问要调试的页面.
3、用chrome访问http://192.168.1.100:8081/client/
而后可如chrome在pc上调试页面一样,看到页面的dom结构、网络请求等。效果如下。
相关文章推荐
- 使用weinre在PC端同步远程调试移动端页面(在xampp上部署项目到Tomcat,并通过外网访问(图解). )
- 使用weinre调试移动端页面
- 使用weinre调试移动端web页面
- 使用weinre调试手机页面
- weinre调试移动端页面
- 移动端页面(css)调试之“weinre大法”
- Weinre调试移动端页面
- ionic项目使用weinre调试移动端
- 使用weinre调试移动端真机
- 博客园 首页 新随笔 联系 订阅 管理 如何使用电脑上的谷歌浏览器来调试安卓手机上的移动端页面
- 使用weinre对WebApp页面dom进行远程调试
- 【前端】使用weinre对手机、微信浏览器页面调试
- 如何使用browsersync工具实现页面的多浏览器和移动端设备的调试
- 移动端页面调试weinre
- Weinre 远程调试移动端手机web页面
- 调试移动端网页工具Weinre使用整理
- Weinre 远程调试移动端手机web页面
- 移动端开发调试工具神器--Weinre使用方法
- 使用Hbuilder编辑器进行移动端页面调试
- [1]移动端页面调试之“weinre大法”