Chrome开发者工具中的黑框脚本选项 [英] Black-boxing script option in Chrome Developer tool

查看:678
本文介绍了Chrome开发者工具中的黑框脚本选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Chrome开发者工具的问题。

我的版本是版本46.0.2490.71(64位)

根据在线教程,我可以转到Sources选项卡,右键单击一个脚本文件,将会有 Blackbox Script 选项进行选择。


但是,我在我的Chrome中看不到任何选项。我如何启用该选项,因为我不知道正则表达式?












另一个问题:脚本仍然被调试,即使我将它们添加到黑盒列表中。奇怪的!!







我想问的另一件事是我如何黑盒子无限量的虚拟机文件?

解决方案


  1. 打开devtools,例如与 Ctrl + Shift + I (或 Cmd + Opt +
  2. 在Mac上)
  3. F1 访问 devtools设置
  4. 访问左侧的 blackboxing部分(参见下图) 添加一个模式,例如 bower_components /


I have an issue with the Chrome developer tool.
My version is Version 46.0.2490.71 (64-bit)
According to online tutorials, I can go to Sources tab, right-click a script file and there will be Blackbox Script option to choose.
However, I see no option in my chrome. How do I enable that option since I have no knowledge about regex?




Another problem: The scripts still got debugged even though I added them to blackbox list. Weird!!



One more thing i want to ask is how I blackbox an "unlimited" amount of VM files?

解决方案

  1. Open devtools, e.g. with Ctrl + Shift + I (or Cmd + Opt + I on Mac)
  2. Press F1 to access devtools settings
  3. Access the blackboxing section on the left side (see image below)
  4. Add a pattern, for example bower_components/

这篇关于Chrome开发者工具中的黑框脚本选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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