前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >How to connect iOS simulator to Chrome for debugging

How to connect iOS simulator to Chrome for debugging

作者头像
Jerry Wang
发布2019-05-30 21:01:30
5280
发布2019-05-30 21:01:30
举报

Step 1. connect the Mac to SAP-internet (for saving the hassle of configuring proxy) Step 2. install homebrew $ /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” Step 3. brew install ios-webkit-debug-proxy $ brew install ios-webkit-debug-proxy Step 4. switch back to SAP-corporate connection Step 5. build and launch the cordova app in the iOS simulator Step 6. start ios_webkit_debug_proxy in the command line $ ios_webkit_debug_proxy -f chrome-devtools://devtools/bundled/inspector.html Step 7. launch Chrome and go to http://localhost:9222/

clipboard1
clipboard1

Step 8. copy the url (file:///Users/…CRM_AHN_01.app/www/index.html) then paste it in a new tab and hit enter Step 9. dang dang dang!

clipboard2
clipboard2
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019年04月29日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档