Inspect can connect to your iOS devices over WiFi on macOS so you can remote debug and inspect Safari and other targets without any cables.

How to enable wireless debugging

  1. Open the Safari Preferences → Advanced and enable “Show Develop menu in menu bar” at the bottom.

  1. Go how to the Develop menu bar in Safari → <device name> → Connect via Network in the menu.

  1. Now you can unplug the cable and check whether Develop → Your device still shows up on the desktop Safari.

  2. Close Safari.

  3. Open Inspect, and your device should show up.