Debugging mobile Safari in iOS 8 and iOS 9
Debugging iOS 8 mobile Safari requires desktop Safari 7.1, which is only available with OS X 10.9.5 or greater.
What you need to do is:
- Update (via Apple menu->Software Update) to OS X 10.9.5 (if you haven't already)
- Once you've done that, you should see the Safari 7.1 in the list of pending updates
Once done, you should see be able to debug as usual via desktop Safari.
Why Safari shows No Inspectable Applications during remote debugging with iOS 6 device?
If you have private browsing enabled in Settings > Safari
, you will not be able to use remote debugging. If you turned off private browsing, it will work like a charm.
Debug iPad Safari with a PC
2018 Update:
Since the original post, the blog post is dead & Telerik App Builder is discontinued and no longer offered. Adding this update to inform readers in case they don't read the user comments that follow this answer post. As for the blog post, for those still interested, here's a web cached copy. Regarding the blog, I think the company that blog's from has since shut down.
When I get a chance, I'll see if I have a copy of the app builder saved so that I can post it online for those still interested in using it, along with another cached copy of the blog post maybe.
Original Answer
You can try option of using Telerik AppBuilder (Windows client) as a replacement on Windows for Safari debugger on Mac when remote debugging. There's a nice blog post about the steps to do it in link below. I'd rather not repost the info as there are also screenshots and it's a lot of text. But essentially, you install app, open it, connect device via USB, then you can find it in the app and open up the developer tools/debugger for it. For non-public websites, you'll have to open up port 80 with some firewall configs documented in the post.
http://blog.falafel.com/Blogs/josh-eastburn/2014/03/04/ios-web-inspector-on-windows-with-telerik-appbuilder
The tool requires a license or you can use the trial, which becomes a basic edition afterwards. I think the basic edition will still allow you to do the debugging. I'm going to try it out myself.
You can also try these iOS apps too, you can find them in the iTunes App store. They give you a built in developer tools feature (right on iOS no remote debug) that mobile Safari doesn't offer.
MIH Tool - basic edition
https://itunes.apple.com/us/app/mihtool/id584739126?ls=1&mt=8
HTTPWatch Basic
https://itunes.apple.com/us/app/httpwatch-basic-http-sniffer/id658886056?mt=8
I gave them a try and they're at least better than the mobile Safari you get on iOS, unless one needs to target full mobile Safari compatibility. I'm guessing the pro/paid editions of those apps give you more/better features.
iOS8 iPhone 5 Mobile Safari cannot be inspected by Desktop Safari 7.0.6 .. No Inspectable Applications
Updating to Safari 7.1 (available in App Store updates today, September, 18 2014) on OS X 10.9.5 (Mavericks) enables remote debugging with iOS 8 Safari.
You don't need Yosemite.
Related Topics
How to Handle Action Buttons in Push Notifications
Annotation Along Route in Mapkit
How to Have One Static Cell in a Dynamic Tableview
iOS Webaudio Only Works on Headphones
Skmutablepayment Property: Applicationusername
Saving Attributes on a User Fetched from a Query (I.E. Not on the Currentuser)
Beacon Ranging in Background on iOS
Where Is the Run Script and Build Phase in Xcode
Uiimagejpegrepresentation Has Been Replaced by Instance Method Uiimage.Jpegdata(Compressionquality:)
How to Change the App Store's Large Icon on Itunes Connect
Uirefreshcontrol Stuck After Switching Tabs in Uitabbarcontroller
Xcode 6.4/7 Crashing After El Capitan Beta
How to Properly Use Class Extensions in Swift
Uialertview in Swift, Getting Exc_Bad_Access
Xcode 8 Swift 3 Uitableview Space Between Cells
Dispatchqueue Crashing with Main.Sync in Swift
Swiftui - How to Get Didset to Fire When Changing a @Published Struct