美文网首页
Chrome浏览器调试iOS手机H5页面

Chrome浏览器调试iOS手机H5页面

作者: ZouJgg | 来源:发表于2021-12-31 15:46 被阅读0次

1、终端安装ios-webkit-debug-proxy、

brew install ios-webkit-debug-proxy

2、手机端开启safair web检查器
设置 --> safari --> 高级 --> web检查器

3、USB链接iPhone到电脑

4、终端打开proxy

ios_webkit_debug_proxy -f chrome-devtools://devtools/bundled/inspector.html

打开样式

gleen@zoujggdeiMac ~ % ios_webkit_debug_proxy -f chrome-devtools://devtools/bundled/inspector.html
Listing devices on :9221
Connected :9222 to iPhone K33 (00xxx824bbxxxa03xxxxxxxxxxxxxxf7a19f7xx4x)

5、在Chrome输入链接打开

http://127.0.0.1:9222/

注意:
9221表示的是模拟器
9222表示手机
完成~~~~

相关文章

网友评论

      本文标题:Chrome浏览器调试iOS手机H5页面

      本文链接:https://www.haomeiwen.com/subject/fengqrtx.html