I want to inspect a web app, running on localhost, loaded in phones via USB. I am able to inspect, and remotely control tabs of all connected phones in Chrome at chrome://inspect/#devices. However, Chrome's DevTools port forwarding feature only works for Android phones, so I am unable to load the localhost app in the connected iPhone.
Any ideas, how to set port forwarding to the iPhone?
These Q&A didn't work for me, but are related and might help others: Reverse Port Forwarding in iOS over USB, iPhone testing: port forwarding and localhost. Also searched on Ask Different, but all I got was Port forwarding on iPhone?, so I guess it is better to ask here on SO.
I have taken these steps (Synchronous live debugging of desktop and mobile site versions) to get it up and running, and found this great guide to enable Inspection/debugging on the iOS.