Accessing iOS Safari Web Inspector from Windows Machine

后端 未结 7 508
轻奢々
轻奢々 2020-12-04 19:24

New iOS 6 Safari comes with Web Inspector feature which allows to connect to it from your desktop Safari via USB cable. It then allows you to debug pages opened in iOS Safar

7条回答
  •  旧巷少年郎
    2020-12-04 19:47

    After trying to get Weinre installed on my Windows 10 machine which is running IIS and a localhost client and never being able to get it to work, I looked for an alternate solution.

    Turns out Safari for Windows was discontinued by Apple but I was able to fine a copy after discovering the following link. Oh, the Web Inspector in Safari was able to help me find the problem in my application once it was installed.

    https://apple.stackexchange.com/questions/68836/where-can-i-download-safari-for-windows

    Once Safari was installed, I needed to turn on the developer tools. This required going into Preferences > Advanced > check "Show Develop menu in menu bar" > (click on page icon next to sprocket icon hover over Develop) Start Debugging in JavaScript. From here on it felt very much like Chrome...:-)

提交回复
热议问题