Accessing iOS Safari Web Inspector from Windows Machine
It appears to require Safari 6, which has not been released for Windows. Regarding the unavailability of Safari 6 on Windows, Apple has stated "Safari 6 is available for Mountain Lion and Lion. Safari 5 continues to be available for Windows."
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.
How to configure Web Inspector on Windows 7 using iPad
Safari 5 does not have that feature. You need Safari 6, which is not (currently) available for Windows.
I regularly use weinre
. It basically runs a webserver that in turn acts as an inspector-enhanced proxy to browse webpages and websites. The inspector can be started by adding a script to your page or running a bookmarklet.
weinre is a debugger for web pages, like FireBug (for FireFox) and Web Inspector (for WebKit-based browsers), except it's designed to work remotely, and in particular, to allow you debug web pages on a mobile device such as a phone.
To install it, you will need NodeJS and NPM (included with NodeJS). You will also need a WebKit-based browser on the desktop/receiver end (Safari, Google Chrome, or Chromium). It should work on Windows, OSX, and Linux.
- Official page: https://people.apache.org/~pmuellr/weinre/
- Documentation & Getting Started: https://people.apache.org/~pmuellr/weinre/docs/latest/
Debugging Mobile Safari on a Linux or Windows Machine
Yes. You can use ios-webkit-debug-proxy and Chrome. It is slower than OS-X and Safari, but tolerable and you may have some issues when Chrome's developer tools don't quite match Safari, but it's much better than nothing.
I have not been able to get the 'chrome-devtools' URL working, so I just go to localhost:9222/ in Chrome after connecting my phone and starting the ios-webkit-debug-proxy.
I've had issues with ios-webkit-debug-proxy crashing or hanging - I have found it more reliable to restart it for each debugging session.
Related Topics
How to Determine Device Type from Swift? (Os X or iOS)
Programmatic Uiscrollview with Autolayout
Does Firebase Cloud Messaging Support Voip Pushkit Services
Swiftui: Unwanted Split View on iPad
Flutter iOS Build Failed an Error of Pod Files: Podfile Is Out of Date
How Does One Print All Wkwebview on and Offscreen Content Osx and iOS
iOS 9.3:An Ssl Error Has Occurred and a Secure Connection to the Server Cannot Be Made
Sudzc Arc Version - Objc_Msgsend Call Causes Exc_Bad_Access Using 64-Bit Architecture
How to Set Image in Circle in Swift
Uicollectionview Select and Deselect Issue
Open Specific View When Opening App from Notification
How to Populate Uitableview from the Bottom Upwards
Ios: Determine If Device Language Is Right to Left (Rtl)
Why Does Uicollectionview Log an Error When the Cells Are Fullscreen