weinre远程调试mobile页面
2013-05-15 23:03
197 查看
移动端页面的调试因为没有像firebug 这样的工具,调试起来比在PC更加麻烦一些。
但是借由weinre, 我们也可以像PC端那样,远程调试webapp。
(以下环境均为windows7)
1) 安装weinre
最新版本的weinre 通过npm进行安装
官方地址:
http://people.apache.org/~pmuellr/weinre/
官方文档:
http://people.apache.org/~pmuellr/weinre/docs/latest/
安装示例:
在E盘新建weinre文件夹
E:\program\mobile\weinre
2) cmd
进入该路径
3) 安装完成后,在 E:\program\mobile\weinre 下会有node_modules 文件夹
4) 启动weinre
5) 在浏览器输入 http://localhost:8080/
显示页面:
点击
6) 在需要远程调试的页面添加weinre脚本
6) 显示debug页面
http://localhost:8080/client/#anonymous
即可进行调试了
但是借由weinre, 我们也可以像PC端那样,远程调试webapp。
(以下环境均为windows7)
1) 安装weinre
最新版本的weinre 通过npm进行安装
npm -g install weinre
官方地址:
http://people.apache.org/~pmuellr/weinre/
官方文档:
http://people.apache.org/~pmuellr/weinre/docs/latest/
安装示例:
在E盘新建weinre文件夹
E:\program\mobile\weinre
2) cmd
进入该路径
3) 安装完成后,在 E:\program\mobile\weinre 下会有node_modules 文件夹
4) 启动weinre
5) 在浏览器输入 http://localhost:8080/
显示页面:
点击
debug client user interface: | http://localhost:8080/client/#anonymous |
<script src="http://localhost:8080/target/target-script-min.js#anonymous"></script>
6) 显示debug页面
http://localhost:8080/client/#anonymous
即可进行调试了
相关文章推荐
- 真机远程页面调试工具spy-debugger 3.x:集成weinre+AnyProxy,页面调试+抓包。调试生产HTTPS页面。
- 使用weinre在PC端同步远程调试移动端页面(在xampp上部署项目到Tomcat,并通过外网访问(图解). )
- Weinre 远程调试移动端手机web页面
- 使用weinre对WebApp页面dom进行远程调试
- Weinre 远程调试移动端手机web页面
- 在本地调试移动设备上的页面——神器weinre介绍
- cordova 真机使用远程H5页面调试
- 在本地调试移动设备上的页面——神器weinre介绍
- 使用weinre调试移动端web页面
- 在本地调试移动设备上的页面——神器weinre介绍
- nodejs使用weinre远程调试手机网页
- 远程调试weinre的使用
- weinre调试移动端页面
- weinre远程调试工具安装及其使用方法
- 使用weinre远程调试手机网页(nodejs、phoneGap)
- 在本地调试移动设备上的页面——神器weinre介绍
- 使用 桌面的 chrome 远程调试 Android 的页面
- 如何使用weinre来进行远程调试phonegap应用
- chrome远程调试真机上的app - 只显示空白页面