Remote debugging Chrome for iOS

前端 未结 4 1411
刺人心
刺人心 2021-02-08 18:19

I\'m trying to debug an error on Chrome for iPad. How can I do that?

Additional info:

I know how to debug Safari for iOS. I just don\'t have a Mac at th

4条回答
  •  梦谈多话
    2021-02-08 18:58

    I've had some success with the iOS remote debug webkit adapter.

    Install ios-webkit-debug-proxy and libimobiledevice

    npm install remotedebug-ios-webkit-adapter -g

    Enable remote debugging in Safari - iOS Settings => Safari preferences => enable "Web Inspector"

    Make your computer trust your iOS device- starting iTunes could prompt the "Trust this computer" dialog.

    remotedebug_ios_webkit_adapter --port=9000

    Open tabs should show up in chrome://inspect/#devices

提交回复
热议问题