k0pernikus
k0pernikus

Reputation: 66510

How to Ignore certain Errors in Development Tools?

On a test system I have a lot of 404 errors that are not important to me right now. Still they are cluttering the console in Chromium's Developer Tools, making it pretty much useless.

Is it possible to ignore errors of a certain type? In this case, I want all 404-errors to not be shown.

Upvotes: 17

Views: 9289

Answers (3)

Dana Woodman
Dana Woodman

Reputation: 4522

If you need to filter errors for a particular domain, you can now do this directly using Chrome Developer Tools. Simply right click on the error you want to hide and then click Filter => Hide messages from...

Upvotes: 6

owhs
owhs

Reputation: 173

So for instance; https://i.sstatic.net/IVL0U.png shows the errors, all blocked by client with adblock etc, I want to hide "AdBar errors", so:

Basically:

  1. Click the filter button, click errors to only show errors, then use the following regex:
  2. ^((?!X|Y|Z).)*$

Upvotes: 1

Cal
Cal

Reputation: 67

I had a MVC web project a while ago, in the web.config section, I used to use this

<customErrors mode="Off"/>

Upvotes: -3

Related Questions