Show File Names in Developer Tool Cponsole Log Captures
Dylan
- When a bug report captures a console log, we would also show the name of the code file and the line number where that log came from.
- It would look just like it does in the browser's own developer tools, with the file name right next to the error message.
Why does it matter?
Right now, when a developer gets a bug report, they see an error message but have to hunt through all the code to find where that error is happening.
With this change, the bug report would point them to the exact spot.
*
Before:
TypeError: Cannot read properties of undefined
*
After:
TypeError: Cannot read properties of undefined (at checkout.js:152)
This would help developers fix problems much quicker because they'd know exactly where to look. It takes the guesswork out of finding the problem's location in the code.
Log In