如何在Chrome / Canary Dev Tools中显示代码覆盖功能 [英] How to show code coverage feature in Chrome/Canary Dev Tools

查看:278
本文介绍了如何在Chrome / Canary Dev Tools中显示代码覆盖功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在阅读 另外,您还可以选择开发人员工具窗口最右侧的三个点,选择更多工具,然后选择覆盖范围




Was reading using the chrome dev tools new code coverage feature and was having trouble trying to enable this feature.

I know that Canary enables this without the need to unflag, but I'm unsure where to locate this feature from within Chrome Devtools.

解决方案

With the developer tools window open, you can open the command menu using Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows, Linux), start typing Coverage and then select Show Coverage:

Alternatively, you can also select the three dots on the far right of the developer tools window, select More Tools and then select Coverage:

这篇关于如何在Chrome / Canary Dev Tools中显示代码覆盖功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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