Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome VM files duplicate javascript

I have a problem developing a website. I am using chrome to debug javascript functions. On one of my pages I see the following:

screenshot of the problem

You can see that my own javascript file gets executed, search.js. There is a duplicate of this file, called VM1769. This file also executes the same code, so a search request is sent twice.

I searched around, and saw someone solve this problem by disabling cache (while DevTools is open), but this did not work for me. I tried another version of Chrome, the problem is still here.

Does anyone have a solution?

like image 854
Inigo Avatar asked Mar 14 '14 11:03

Inigo


1 Answers

I got the same issue and found out that i really included the same JavaScript-File twice. So its not logical for me that Chrome shows the second execution as a VM-Script but it ended to do that when i deleted the duplicate include.

like image 93
terraloader Avatar answered Nov 10 '22 15:11

terraloader