我可以让chrome-devtools实际搜索所有JS源吗? [英] Can I get chrome-devtools to actually search all JS sources?
问题描述
我在使用chrome dev-tools搜索JS文件时遇到问题,过去通过Ctrl + shift + f激活的搜索总能找到我想要的,但最近(我不确定哪个更新触发了这个)我发现搜索没有捕获
I'm having trouble with searching through JS files in chrome dev-tools, in the past the search activated by Ctrl+shift+f always found what I wanted, but recently (I'm not sure exactly which update triggered this) I'm finding the search does not catch
-
内联脚本标签中的JS
JS in inline script tags
JS里面的iframe。
JS inside iframes.
我还发现内联时调用堆栈搞砸了涉及到脚本,但是当我尝试谷歌搜索这些问题时,我只是获取了开发工具文档页面,还有其他人注意到这些问题吗?我以前想象过这个吗?
I've also found the callstack messed up when inline scripts were involved, but when I try to google for these issues, I just get the dev-tools doc pages, has anyone else noticed these issues? Was I just imagining this worked before?
推荐答案
看来你花了很长时间才能找到答案正确地说出问题...
It seems the answer is always easier to find after you've taken the time to phrase the question properly...
我在General - > Sources下找到了一个名为在内容脚本中搜索的选项。我不确定如何/何时禁用此功能但启用它并重新启动chrome已修复我的所有问题。
I found an option under General -> Sources called "Search in content scripts". I'm not sure how/when I disabled this but enabling it and restarting chrome has fixed all of my problems.
这篇关于我可以让chrome-devtools实际搜索所有JS源吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!