Reputation: 283
I don't know what happened in my Google Chrome Console, I can't see any longer the source of my console.log.
If I write a console.log in my code, I can see the result in the console but not the source of my code, now instead of the source I see "consolePlugin", and when I click on it, it redirects me to a file called consolePlugin.ts
.
It's very annoying, because I would like to debug sometimes from inside the console of Chrome, or know where this console.log comes.
Thanks for your help.
Upvotes: 0
Views: 220
Reputation: 31
I hope you found a solution by now but having just fixed this here was my solution;
In the Chrome Console I clicked on the "consolePlugin.ts" which took me to the Sources tab and showed me that the output was coming from a file in webpack.
consolePlugin in the Sources tab
I then went to Chrome settings (the gear icon) and then to Ignore List where I added the file "consolePlugin.ts".
My console logs are now back to normal. Hope this helps
Upvotes: 1
Reputation: 26
I don't know why this is happening but most of the time when I experience a strange behaviour from devtools I reset settings and it solves the problem.
Click here :
And then :
Upvotes: 0