Accessing iOS Safari Web Inspector from Windows Machine

后端 未结 7 520
轻奢々
轻奢々 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:31

    Setup Vorlon on Windows

    npm i -g vorlon
    vorlon
    

    Verify Vorlon is Running

    Open a web browser and navigate to http://localhost:1337

    Setup Ngrok

    • Download Ngrok: https://ngrok.com/download
    • Unzip it
    • Open a command prompt: Start -> Search -> cmd
    • Navigate to ngrok.exe: cd /
    • Run it: ngrok.exe http e.g. ngrok.exe http 1337

    Ngrok provides a url e.g. https://0ad8c32f.ngrok.io -> localhost:1337

    Copy and paste the ngrok url into your webpage.

    
    

    Navigate to the page under test on your device(s):

    http://thepageiwanttotest.com/testing123
    

    References

    • Vorlon Reference: http://vorlonjs.com/#getting-started
    • Ngrok Reference: https://ngrok.com/download

提交回复
热议问题