How to connect iOS simulator to Chrome for debugging
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/
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!
總結
以上是生活随笔為你收集整理的How to connect iOS simulator to Chrome for debugging的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 《暗黑破坏神 3》游戏原本没有计划引入
- 下一篇: 如何在AWS上架设文件服务器