When debugging JS using chrome development tool, while using step into next function(ctrl + ;). I'm getting into file names like VM****. Is there a way to get rid of this?
Asked
Active
Viewed 6,856 times
7
-
4http://stackoverflow.com/questions/17367560/chrome-development-tool-vm-file-from-javascript – mplungjan Jul 05 '16 at 13:43
-
As per above link, this is a duplicate question and should be marked accordingly by someone with that privilege. – Gideon Pyzer Jul 05 '16 at 16:05
-
VM is for 'virtual machine.' It means the Javascript engine had to create the code to run it, either inline in an element event handler or through a call to eval(). – HardScale Jul 10 '16 at 02:01
-
1can we blackbox/or simply skip this script while debugging, Is there a way for that? – sree Jul 13 '16 at 12:22
-
1ended up with this http://stackoverflow.com/questions/29897750/is-it-possible-to-blackbox-all-vm-scripts-in-chrome-debugger – sree Jul 15 '16 at 11:30
1 Answers
0
I know this is a rather old subject, but I had the same issue and noticed if I used an Incognito Chrome instance, the VMXXXX scripts no longer show up during the trace when I did an Event Listener Breakpoint (was debugging click). If this helps anyone.

Aaron Olin
- 349
- 2
- 7