Issue
When I console.log()
, the Chrome console gives the log but instead of showing the file and line number it just says react_devtools_backend.js:4049
. How do I get the console to show the file and line number when I console.log()
?
Solution
I was able to fix it in my console adding the file to my ignore list in Chrome. Once I added react_devtools_backend.js
to my "Console" => "Gear" (top right) => "Settings" => "Ignore List", the console.log started showing correct mapping again.
Answered By – Sean
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0