是否可以在Android手机上的Chrome中打开开发者工具控制台? [英] Is it possible to open developer tools console in Chrome on Android phone?

查看:4349
本文介绍了是否可以在Android手机上的Chrome中打开开发者工具控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

AngularJS应用程序在桌面上可以正常运行,但不能在移动设备上正确呈现(显示实际代码).这是在Android手机上.

An AngularJS application works fine on desktop, but is not rendering properly on mobile (actual code is showing). This is on an Android phone.

我想看看控制台中显示了什么错误.

I would like to see what errors are showing in the console.

是否可以在移动设备上的chrome应用程序上打开JS控制台(就像在台式机上一样)?

Is it possible to open JS console on chrome app on mobile (like it is on desktop)?

推荐答案

您可以使用远程调试来完成,这是

You can do it using remote debugging, here is official documentation. Basic process:

  1. 连接您的android设备
  2. 选择设备:更多工具>从pc/mac上的开发工具中检查设备*.
  3. 在您的手机上授权.
  4. 调试愉快!
  1. Connect your android device
  2. Select your device: More tools > Inspect devices* from dev tools on pc/mac.
  3. Authorize on your mobile.
  4. Happy debugging!!

*现在是远程设备".

这篇关于是否可以在Android手机上的Chrome中打开开发者工具控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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