How to disable the debug logs from chrome extension

how to disable the debug logs from chrome extension, like this:

There are several suggestions in this Github comment, and elsewhere in that Github thread.