Debugging javascript on Android tablets/phones?

前端 未结 7 1738
挽巷
挽巷 2021-01-11 10:06

How do I enable the debug view like I can in Safari on iOS? I simply need to see if a Xoom that I\'m testing a page on is generating javascript errors. I was trying to find

相关标签:
7条回答
  • 2021-01-11 11:09

    Android doesn't (currently) have a WebInspector like Chrome/Chromium does.

    You can still look at any console.log() messages fired under window.console in logcat.

    Source: http://developer.android.com/guide/webapps/debugging.html

    Also, whilst Firefox 4 is available for Android, Firebug currently isn't supported on the mobile version of the browser.

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