Javascript 如何在 MAC 上的 Chrome 开发者工具中取消隐藏过滤的消息
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/44622318/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to unhide filtered messages in Chrome developer Tools on a MAC
提问by noor h
I am in the developer view in Chrome (cmd+shift+c). Under the console tab, it shows this message
我在 Chrome (cmd+shift+c) 的开发者视图中。在控制台选项卡下,它显示此消息
7 items hidden by filters
过滤器隐藏的 7 个项目
But the issue is I have no filters set. I tried right clicking and selecting 'Filter' but the unhide all is greyed out. And tried reseting the developer console.But it didnt work, how do i fix this ?
但问题是我没有设置过滤器。我尝试右键单击并选择“过滤器”,但取消隐藏全部显示为灰色。并尝试重置开发者控制台。但它没有用,我该如何解决?
回答by wodzu
There seems to be a bug in chrome, when adding filters via the rightclick context menu:
通过右键单击上下文菜单添加过滤器时,chrome 中似乎存在一个错误:
Filter > Hide Messages from ...
Filter > Hide Messages from ...
The only thing that worked for me, was to reset the entire debugger settings
唯一对我有用的是重置整个调试器设置
Settings (F1 on Windows) > DevTools > Restore defaults and reload
Settings (F1 on Windows) > DevTools > Restore defaults and reload
回答by theghost777
Right click on console area, Filter -> Unhide All, in filter option you will see all filters.
Screenshot
右键单击控制台区域,过滤器 -> 取消隐藏全部,在过滤器选项中您将看到所有过滤器。
截屏
回答by Phrogz
回答by charltoons
回答by mypeople
回答by learner
All you need to do is to select either "Info" or "Verbase" option next to filter field to see the console log.
您需要做的就是选择过滤器字段旁边的“信息”或“Verbase”选项以查看控制台日志。
回答by Mohideen bin Mohammed
回答by Irving Z
I had same problem but selecting "info" or "verbose" didn′t unhide errors, what was hidding them for me was, "Hide network" inside console settings, was checked, so i just unchecked and no "items hidden by filters" showing anymore.
我有同样的问题,但选择“信息”或“详细”并没有取消隐藏错误,对我来说隐藏它们的是,控制台设置中的“隐藏网络”被选中,所以我只是取消选中并且没有“过滤器隐藏的项目”不再显示。
回答by Abby
I had the same issue the other day. Go to the console in your dev tools and right click on an error message. Hover over 'filter' option, then select unhide all.
前几天我遇到了同样的问题。转到开发工具中的控制台,然后右键单击错误消息。将鼠标悬停在“过滤器”选项上,然后选择全部取消隐藏。
console > right click error message > filter > unhide all
控制台>右键单击错误消息>过滤器>取消隐藏所有
回答by Harry
Check for a small input box above the console, You may have set a entered some text once as a filter and forgot to clear it.
检查控制台上方的小输入框,您可能将输入的一些文本设置为过滤器,但忘记清除它。

