Remote debugging of Chrome for iOS

I am trying to debug a bug in Chrome for iPad. How can i do this?

Additional Information:

I know how to debug Safari for iOS. I don’t have a Mac at the moment.

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

  • Does Desktop Chrome support anything?

  • Is Chrome for iOS just a webview app?

+7
javascript safari ios webview macos
source share
3 answers

You cannot directly remove the debug version of Chrome on iOS at this time. It uses uiWebView, which can act subtly than Mobile Safari

You have several options.

Option 1: Remote debug Mobile Safari using the Safari Inspector. If your issue reproduces in Mobile Safari, this is definitely the best way to go. In fact, passing the iOS simulator is even easier.

Option 2: Use Weinre to debug debugging . Weinre does not have many features, but sometimes it is good enough.

Option 3: Remote debugging of a correct uiWebView that works the same.

Here is the best way to do this. You need to install Xcode .

  • Go to github.com/paulirish/iOS-WebView-App and "Download Zip" or clone.
  • Open Xcode, open an existing project, and select the project you just downloaded.
  • Open WebViewAppDelegate.m and change urlString to the URL you want to check.
  • Launch the app in iOS Simulator.
  • Open Safari, open the development menu, select iOS Simulator and select your webview.
  • Safari Inspector will now check your uiWebView.

enter image description here

enter image description here

enter image description here

+6
source share

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

As far as I understand, yes.

Does Desktop Chrome support anything?

Not

Is Chrome for iOS just a webview app?

Yes, the application will be rejected otherwise, so Mozilla did not initially create a browser for iOS.

+1
source share

The Firefox Tools adapter allows you to use Firefox DevTools to debug websites in Safari or Google Chrome for iOS or Android.

https://github.com/mozilla/valence#debugging-safari-firefox-and-other-webviews-on-ios

+1
source share

All Articles