Remote debugging Chrome for iOS

Viewed 25306

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 the moment.

  • Is it true that I need Safari on MacOS X to remote debug Chrome for iOS?

  • Does Desktop Chrome allow anything?

  • Is Chrome for iOS just a webview application?

5 Answers

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 Chrome debuig device inspection

If you're just looking for the console logs, there's chrome://inspect, which will display console.log of other tabs in iOS Chrome.

enter image description here

Related