如何使用移动浏览器调试JavaScript代码 [英] How to debug JavaScript code with mobile browsers

查看:103
本文介绍了如何使用移动浏览器调试JavaScript代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解Firebug和主要的现代台式机浏览器的开发人员工具,但找不到在移动浏览器上调试JavaScript代码的任何方法.

I know about firebug and the developer tools for the major modern desktop browsers, but I can't find any way of debugging JavaScript code on mobile browsers.

我可以使用哪些高级技术在移动浏览器上调试代码?

What are some high level techniques I can use to debug code on mobile browsers?

推荐答案

Android为此提供了一个工具集: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/?utm_source=dcc&utm_medium=redirect&utm_campaign=2016q3

Android provides a tool set for these purposes: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/?utm_source=dcc&utm_medium=redirect&utm_campaign=2016q3

Apple采取类似的方式: https://developer.apple.com/safari/tools/

Apple does it a similar way: https://developer.apple.com/safari/tools/

教程: 查看全文

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