Q: Why is Remote Debugging for Safari Mobile so inconsistent?
I've been developing for many years with OSX and Mobile Safari, and I've noticed it has ALWAYS been extremely inconsistent.
Currently, I am running Safari 10.0 on El Capitan10.11.6, and IOS 10.0.2 (the latest), and I'm not getting it to work AT ALL. I actually haven't attempted to use this feature for several months, so not sure if maybe the feature is just completely broken now.
In the past, if you quit Safari Mobile, and quit Safari (desktop) both, then started them back up, sometimes it would begin working, and then sometimes continue to not work. I am NOT changing any settings between these steps, and I know they are what they should be according to documentation, and tips I've read.
Develop menu is on. Web Inspector is enabled. Fraudulent Website Warnings is off (someone suggested this has something to do with it). IOS is open, and on a web page.
I know other people who've encountered this exact problem again and again. It seems that it is clearly a bug that Apple needs to resolve. I know how to use weinre [https://people.apache.org/~pmuellr/weinre/docs/latest/], and this is a great workaround; however, it is highly irritating to waste my time trying to get this to work several (many) times, and then have to give up, and go set up weinre when it happens (it happens a lot).
So! I've read through several StackOverflow topics on this (can't find them ATM), but none of them that I've seen specifically address the spottiness of this issue, or how to solve it once and for all.
iPhone 6, iOS 10.0.2, Also using El Capitan 10.11.6
Posted on Sep 28, 2016 8:46 PM