Search code examples
google-chromegoogle-chrome-console

Filter the Chrome console messages


Is there a way to filter messages in the Chrome console?
By example, I don't want to see messages from/containing the JQMIGRATE...


Solution

  • I think you can. Recent chrome versions allow filtering using regular expressions by enclosing the search pattern in /.../, previous versions had a checkbox. You can express, for instance, "not bar" by using negative lookaheads, as described here How to negate specific word in regex?

    In the picture below, I tried filtering for "not bar".

    Example: Filtering for "not bar"