billfeller.github.io icon indicating copy to clipboard operation
billfeller.github.io copied to clipboard

使用Chrome Inspect调试WebApp

Open billfeller opened this issue 9 years ago • 0 comments

作者:zhanhailiang 日期:2015-03-10

在PC上有丰富的开发调试工具,但是针对需要在移动设备上调试的页面,目前缺乏有效的工具,只能通过PC来模拟测试,为此Chrome支持远程调试Android设备,详情请见Remote Debugging on Android with Chrome

安装步骤

  1. 开启移动设备开发者选项开启USB调试选项,若和笔者一样使用M4,可参见小米4如何进入开发者选项
  2. 在PC上安装OEM USB Drivers,官方安装教程:OEM USB Drivers,下载路径:latest_usb_driver_windows.zip
  3. 在PC Chrome上打开 chrome://inspect/#devices 即可;
  4. Android安装最新版Chrome,通过 Chrome 访问移动页面,即可开始调试页面;

image

更多阅读

  1. 使用Chrome来调试你的Android App

billfeller avatar Mar 10 '15 03:03 billfeller