Safari Remote Debugging on Windows

后端 未结 5 518
旧巷少年郎
旧巷少年郎 2021-01-04 07:20

With the release of iOS 6, Apple implemented a feature called remote debugging

A client is having problems with my webapp since installing the new iOS 6 and I can\'t

相关标签:
5条回答
  • 2021-01-04 07:43

    Additionally, if you're BrowserSync (which u should, btw), you can use it's remote debugging feature which is accessible from the UI. It should work with Safari mobile.

    There's a topic about this already: How to do remote debugging with Browser-sync?

    This cool feature is powered by Weinre. Not the most pleasant debugger. But it works quite well.

    0 讨论(0)
  • 2021-01-04 07:50

    The only solution I see currently is Telerik "AppBuilder". However it's very expensive...

    0 讨论(0)
  • 2021-01-04 07:54

    How to debug Safari iOS when you're on Windows?

    • Those nice Safari developer tools for iPhone require Safari 6, i.e. they are NOT available on Windows. There are no plans for a Windows version of Safari 6 or, as Apple put it: "Safari 6 is available for Mountain Lion and Lion. Safari 5 continues to be available for Windows." (http://en.wikipedia.org/wiki/Safari_%28web_browser%29#Safari_6)

    • If your local web server (e.g.: XAMPP) is properly configured, you should be able to visit it from your iPhone once it's connected to your computer. However, on Windows, this does not work either.

    Alternatives:

    • WebKit Debug Proxy is likely to offer similar functionality using Chrome in place of Safari one day: https://github.com/google/ios-webkit-debug-proxy* "Windows support is planned but not implemented yet."
    • Use jsconsole for Remote Debugging: http://jsconsole.com/remote-debugging.html Not safe AT ALL for production (read the warnings, don't use in prod) but very handy.

    Hope this helps someone.

    0 讨论(0)
  • 2021-01-04 07:59

    Port forwarding on ios device is easy. but the problem is, that ios does not run inspector by default on any port by default.

    0 讨论(0)
  • 2021-01-04 08:04

    There is actually a pretty easy way to debug a website in Safari on iOS using Firefox WebIDE on a Windows machine. I wrote an answer at https://stackoverflow.com/a/35714835/306179 further describing this solution.

    0 讨论(0)
提交回复
热议问题