Show only errors in Chrome development console

走远了吗. 提交于 2019-12-22 01:33:19

问题


Is there a way to display only errors on the Chrome development console?

Right now it displays about a million warnings and I have to search through them to find the errors.

Thanks!


回答1:


In the latest version of Chrome console there is now a drop-down menu next to the Filter box, which is set to "Info" by default. This menu allows you to switch between only showing errors, warnings, info or verbose.

Pictured here:




回答2:


You can hold the Control button (Command on Mac) to select more than one filter, such as 'Error' and 'Info' but not 'Warn'.




回答3:


Use the filter buttons in the bottom status bar ("All", "Errors", "Warnings", "Logs")




回答4:


There is an errors filter in the bottom toolbar of the console. See the screenshot.



来源:https://stackoverflow.com/questions/9589018/show-only-errors-in-chrome-development-console

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!