Nisim Joseph
Nisim Joseph

Reputation: 2520

Chrome Devtools become grayed out while debugging for specific JS file

while debugging 3rd party code in Chrome DevTools one file became gray and I couldn't debug it, see values or do any operation on the content. it occurs in a specific file only. enter image description here why is it happening?

Upvotes: 0

Views: 1988

Answers (1)

Nisim Joseph
Nisim Joseph

Reputation: 2520

After digging I found the issue is:

this._slot.innerHTML += '...

apparently, the debugger doesn't like those things and disabled the whole file from debugging.

BTW, the code working with that type of "+=" but it so not the right way it fricking out the debugger.

Upvotes: 1

Related Questions