使用 Devtools 调试 Chrome 并查找分配给变量的特定单词
Is there any option to debug and look for a specific word being assigned into a variable using Chrome Devtools?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您至少知道它将位于哪个文件中,并且您提到的特定单词不是文件中常见的通用单词,那么按照cubesareat建议的ctrl+f效果最好。
如果即使返回很多结果,您也可以在单词前添加等号以进一步缩小结果范围。
Presuming you know at least which file it'll be located in, and the specific word you mention isn't something generic that would be expected commonly within the file, then ctrl+f as suggested by cubesareneat will work best.
If even that returns many results, you could add an equals sign before the word to narrow the results down further.