DEV Community

Cover image for Remote debugging using Google Chrome on iOS devices with macOS
Nima Jafari
Nima Jafari

Posted on

Remote debugging using Google Chrome on iOS devices with macOS

This guide focuses on the specifics of remote debugging using Google Chrome on iOS devices with macOS. Throughout this guide, we will explore the setup process, including the necessary tools and configurations required to establish a remote debugging session between your iOS device and macOS system using Google Chrome browser.
First you need to make sure about:

  1. iOS version: 16.4 or greater
  2. Chrome version on your iOS phone or tablet: 115 or greater

Before you start remote debugging, on your macOS system:

  1. Head over to the Safari application settings > Advanced settings.
  2. Enable Develop on Safari browser.

On your iOS device:

  1. Open Google Chrome.
  2. Go to the Settings section in the application.
  3. Enable Web Inspector in Content Settings.
  4. Relaunch the app to save the changes.

Image description
Now, start remote debugging:

  1. Connect your device with a cable to your Mac.
  2. On iOS device Google Chrome, open a URL that you want to debug.
  3. Look for the Develop menu on Safari on your Mac.
  4. From the Develop menu, click on your iOS device name, then select the page which has been already opened on your iOS phone or tablet.
  5. The opened Web Inspector helps you debug the web page.

Image description

πŸ’‘In the Web Inspector, the mobile frame view, which is visible on Google Chrome mobile simulator, is not shown.

Image description

Conclusion

Whether you're troubleshooting a specific issue or aiming to optimize your site's mobile responsiveness and performance, mastering remote debugging with Google Chrome on iOS devices using macOS will equip you with the skills to ensure your web applications deliver a seamless user experience across iOS devices.

ℹ️ You may also be interested to read:
πŸ”—Remote debugging using Google Chrome on Android devices with Windows
πŸ”—Remote debugging using Firefox on Android devices with Windows
πŸ”—Remote debugging using Safari on iOS devices with macOS

πŸ“ Resource: https://www.oxyplug.com/optimization/ultimate-guide-to-remote-debugging-webpages/

Top comments (0)