How to view iPhone Safari developer tools on Mac over WiFi?
Connect your iPhone to your Mac via USB
Go to Safari on your Mac
Mac: Safari > Preferences > Advanced > Show Developer menu in menu bar
iPhone: Settings > Safari > Advanced > Web Inspector
Mac: Safari > Develop > [iPhone Name] > Connect via Network
Unplug the iPhone form USB. You should still see it in the menu
Go to the website on iPhone Safari
On your Mac select the website. A window should open with console, inspect element and a bunch of other developer tools.