如何在Android 4.2.2上启用JavaScript控制台 [英] How to enable javascript console on Android 4.2.2
问题描述
在S3上,我试图启用JavaScript控制台来调试Samsung Galaxy S4上的股票Android浏览器中的网页。只需键入:在地址栏中调试它出现,但它不工作在S4,似乎做一个自动完成chrome://调试。
首先,知道如何让控制台打开是非常好的,其次为什么Chrome的自动完成是为股票浏览器而来的?
谢谢
尝试此链接远程调试chrome 。
如果你在android上开发的大于4.0.3,你可以键入 adb logcat
,你将能够捕获你的console.log或错误。
或者如果您希望chrome启用移动屏幕测试视图。它取决于您是测试功能还是图形
I'm trying to enable the JavaScript Console to debug a webpage in the stock Android browser on a Samsung Galaxy S4 running 4.2.2.
On the S3 I just type in about:debug in the address bar and it comes up but it doesn't work on the S4, it seems to do an autocomplete for chrome://debug.
Firstly it would be great to know how to get the console open and secondly why would Chrome's autocomplete be coming up for the stock browser?
Thanks
try this link remote debugging chrome.
Well if are you developing on android greater than 4.0.3 you can type adb logcat
and you would be able to catch your console.log or errors.
Or if you want chrome enables mobile screen to test the view.It depends if you are testing the functionality or the graphics
这篇关于如何在Android 4.2.2上启用JavaScript控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!