News for hackers. Stuff that matters.
Re:Making the Most of the JavaScript Language (2016) by Zyst on Thursday August 03, 2017 @04:00PM (#14923232)
Normally you have mapping files which tell your browser which bits correlate to the outputted "compiled" code.

Thus in your browser you see the code you write, you put in breakpoints as desired, and everything generally works.

I don't have much depth as to how it all works behind the scenes though, I'd love to know more.

Re:Making the Most of the JavaScript Language (2016) by daxelrod on Thursday August 03, 2017 @04:24PM (#14923494)
The feature is called "source maps". Here's an MDN article about it https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_...