.Front-End {
Life: Colourful;
Work: Successful;
Love: Sweet;
Family: Healthy;
}

###Web移动应用调试工具——Weinre

1.安装

npm -g install weinre

2.运行

weinre --boundHost -all- --httpPort 8080

3.weinre server

 http://localhost:8080/
 http://192.168.2.100:8080/client/#anonymous

4.Target Script

<script src="http://ip:8080/target/target-script-min.js#anonymous"></script>

5.Mobile HTML

  http-server
  http://192.168.2.100:8081
  http://ip:8080/build/grunt.html

6.Access Points

http://localhost:8080/client/#anonymous
  1. Mobile Open HTML

  2. Targets

  3. Elements

10.Server Properties:

C:\Users\UserName\AppData\Roaming\npm\node_modules\weinre\web
weinre -help
usage:   weinre [options]
version: 2.0.0-pre-I0Z7U9OV

参考资料

1.Webpage - 移动端调试页面

2.远程调试安卓版Firefox浏览器

3.移动H5前端性能优化指南

4.Browser-Sync

Published by wkylin 08 April 2015

blog comments powered by Disqus