Chris Dutrow
Chris Dutrow

Reputation: 50362

Show only errors in Chrome development console

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!

Upvotes: 25

Views: 14436

Answers (4)

Ben Russell
Ben Russell

Reputation: 1423

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:

The "Level" drop-down menu in the Google Chrome console

Upvotes: 33

madhu131313
madhu131313

Reputation: 7386

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

Upvotes: 14

Clint
Clint

Reputation: 491

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

Chrome Dev Tools - Console

Upvotes: 2

Alexander Pavlov
Alexander Pavlov

Reputation: 32286

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

Upvotes: 2

Related Questions