Safari 11.0.1/MacOS 10.13.1 is unable to maintain a web inspector connection with a web page on Safari iOS - iPhone 6, iOS 11.1.1. Almost immediate after the Web Inspector window opens, the connection is dropped and the window is basically dead.
web inspector disconnecting
I'll try running the battery down and give that a go.
I found another thread where they were saying safari 11.1+ was required, so upgraded to high sierra and the safari web technology preview. No joy.
In console I could see this error:
RWIServiceLockdownConnection: failed to read bytes from webinspectord, so disconnecting: Undefined error: 0
RWIServiceDeviceConnection: Closing connection (Direct)
****, you were right. if the battery isn't 100% then it can debug.
It must be the phone signalling to not supply usb power, and that stops the debug as well
Update:
Incidentally, there is an option in the develop menu.
Develop > Marks iPhone7 > 'connect via network'
That works and means the phone isn't charging at the same time.
I have the same problem on High Sierra (iMac)...
Safari hangs (and sometimes halts the whole system)
Seems to has begun with the latest 10.13.4
This helped me. Choosing Connect via network now no longer require the wired connection.
I still have this issue in safari 12.1.2 on Mojave. Using usb, wifi switching use network connection on or off. nothing helps. The debug windows opens for a second and then its gone, including hte connection (seeen by the menu entry of my iPhone dissappearing).
Trying to debug a cordova app, debug build, installed from xcode.
Sometimes, after ??? x trying it stays connected for a gracefull period of unknown duration, in which time I hope to get to see what I wanted.
Anyone any suggestions?
It still disconnects for me with the battery at 88% and selecting "Connect via Network" does not help. I'm using macOS Catalina.
still having this issue