Make "Selected Context Only" persist in Chrome DevTools console settings
You can use the filter option as a workaround. For example I was able to hide warnings like 'DevTools failed to load SourceMap: Could not load content for...' with regex -/failed\sto\sload\sSourceMap/
Also you can find a documentation for filtering here https://developers.google.com/web/tools/chrome-devtools/console/reference#filter
Selecting the same option form settings (f1) worked for me
I have the same problem with chrome and brave browser. To avoid showing the error messages comming from webpack dev server like the following screenshot. I defined negative filter in Console to filter them out.
/^((?!sockjs).)*$/