Show only errors in Chrome development console

后端 未结 4 1104
失恋的感觉
失恋的感觉 2021-02-18 13:07

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 e

相关标签:
4条回答
  • 2021-02-18 13:39

    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:

    0 讨论(0)
  • 2021-02-18 13:53

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

    0 讨论(0)
  • 2021-02-18 13:57

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

    Chrome Dev Tools - Console

    0 讨论(0)
  • 2021-02-18 14:03

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

    0 讨论(0)
提交回复
热议问题