91allan

前端开发人员工作有时候会用到console.log,PC端直接能打开开发者工具。但是移动端就不太方便了,为此提供一种简单的方法,只需2步:

1、打开http://jsconsole.com/  输入:     :listen

2、复制<script src="http://jsconsole.com/remote.js?xxxxxxxxxxxxxxxxxxxxx"></script>放入需要测试的html中。此时在手机上操作就能在上面看到console了。

 

同样适用于pc端,不过pc端能打开开发者工具貌似没什么必要。

 

注:   输入:clear为清除页面内容

分类:

技术点:

相关文章:

  • 2021-06-29
  • 2021-12-06
  • 2021-10-05
  • 2021-11-27
  • 2021-09-08
  • 2021-04-18
  • 2021-09-03
  • 2021-11-30
猜你喜欢
  • 2021-07-15
  • 2021-09-08
  • 2021-09-08
  • 2021-09-08
  • 2021-09-08
  • 2021-09-08
  • 2021-09-16
相关资源
相似解决方案