Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide Violations in Chrome 58+ while still showing console.debug?

As of Chrome 58

  • The Hide violations checkbox is gone. Set the logging level dropdown
    to Verbose to see violations.

This works, but I need to work on a project that is using console.debug as spammy level, while normal debug gets outputted with log/info/warn.

So when I actually need to read the debug, 99% of the console output is [Violation] clutter and I basicly need to open Firefox in order to debug properly.

Does anyone know of a workaround / extension / hack / whatever to just hide violations altogether while still showing console.debug?

like image 218
red Avatar asked Nov 26 '25 23:11

red


1 Answers

Welp, I guess the only way is to use RegEx: /^((?!\[Violation\]).)*$/ into filter box and you'll be able to show everything except violations.

Edit: This is no longer necessary, you can tick a checkbox to show "User Messages Only".

like image 74
red Avatar answered Nov 29 '25 13:11

red



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!