Remote console.log() on iOS devices

后端 未结 6 1392
盖世英雄少女心
盖世英雄少女心 2020-12-29 23:18

I am developing a web app that involves touchEvent. It will be much more easier to debug those if I can view the console remotely on my Mac.

Can I make my Mobile Saf

相关标签:
6条回答
  • 2020-12-29 23:58

    One File Remote Console.log for node.js

    Solution: Server side console log.

    0 讨论(0)
  • 2020-12-29 23:59

    Just turn on the debugging console in Mobile Safari. This is enabled in Settings/Safari/Developer.

    0 讨论(0)
  • 2020-12-30 00:00

    In iOS6, you can now use the Remote Web Inspector on OSX to connector to the iPhone via USB. See the Apple documentation for more information.

    0 讨论(0)
  • 2020-12-30 00:00

    You can use a remote javascript console. There a few available.

    • weinre
    • spotneedle
    • jsconsole
    0 讨论(0)
  • 2020-12-30 00:02

    mobile-console-log is also a utility for debugging directly from your mobile into Chrome Devtools

    0 讨论(0)
  • 2020-12-30 00:07
    1. plug iphone into computer
    2. settings > safari > advanced > web inspector (turn on)
    3. open safari on your computer
    4. run your web app on your iphone in the safari browser
    5. on your computer in safari, go to develop > inspectable applications, your running app should be in there.

    doing these steps enables the safari debug tools on your desktop to reflect and respond to the connected iphone.

    hope that helps.

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