如何设置chrome的debuggable标志? [英] How to set debuggable flag for chrome?

查看:167
本文介绍了如何设置chrome的debuggable标志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在官方教程
https://github.com/phonegap/phonegap/wiki / Debugging-in-PhoneGap
他们说

In the official tutorial https://github.com/phonegap/phonegap/wiki/Debugging-in-PhoneGap they say

Chrome远程调试:
如果您使用Cordova 3.3或更高版本,已经支持,只需要您的AndroidManifest.xml中的Debuggable标志
我放在platforms \android \AndroidManifest.xml
,并得到一个构建错误运行构建
无论如何,我的东西应该在config.xml中配置

Chrome Remote Debugging: If you are using Cordova 3.3 or higher, this is already supported, and only requires the Debuggable flag in your AndroidManifest.xml I put in platforms\android\AndroidManifest.xml and get a build erro running build Anyway, I thing it should be configured in the config.xml

推荐答案

使用Chrome的远程调试在Android上的嵌入式WebView中只显示从Android 4.0开始。有关Google网站的更多详情:

Remote debugging using Chrome appear in embedded WebView on Android only starting from Android 4.0. More details on Google website:

https://developer.chrome.com/devtools/docs/remote-debugging

在Cordova本身,远程调试版本4.4版本

In Cordova itself, remote debugging land in 4.4 version

这篇关于如何设置chrome的debuggable标志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆