How to enable wireless debugging
- Open the Safari Preferences → Advanced and enable “Show Develop menu in menu bar” at the bottom.

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

- Now you can unplug the cable and check whether Develop → Your device still shows up on the desktop Safari.
- Close Safari.
- Open Inspect, and your device should show up.