Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get rid of [VM] line in Chrome console?

Now I can see about VM line in my chrome developer tools like this.

enter image description here

There are some solution that I found, such as make gray 'pause button'

enter image description here

however, it was already gray in my developer-tool and it was also not worked for me.

How can I get rid of that VM messages in my console?

Thanks for read my problem.

like image 902
Jinho KIM Avatar asked Sep 10 '25 14:09

Jinho KIM


2 Answers

With the right mouse click on a VM:xxx link select "Reveal in Sources panel", and study the code that causes those console messages.

In my case, I found there this line - original Method(...format WithStyles(args, 'color: ${color}'));, and other lines there revealed that it was referring to React Devtools Extention. So in its "Components" console tab => Settings gear icon => Debugging tab => I checked on the "Hide logs during second render in strict mode" option.

It helped me, but it can be some other extension in your case. Study the source code of a message first.

like image 143
shompitom Avatar answered Sep 13 '25 05:09

shompitom


Open Chrome console, than select All Levels (it may appear like Default, if so, click it.) See in the list if Info is checked. If it is checked, close it. It helped me to get rid of it, hope it will help you to get rid of [VM] line in Chrome console too.

Check the image below:

enter image description here

like image 22
bekdev Avatar answered Sep 13 '25 04:09

bekdev