Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

Introduction to JavaScript Source Maps - HTML5 Rocks

Source Maps help you debug code by providing mappings from transformed code back to the original formatted source. For example, if you have minified + combined JavaScript files, instead of locating errors at “source=combined.js, line=3, column=4329”, your browser could correctly identify the error at “source=validate.js, line=168, column=14”.

Similar mappings could be created for CSS (SASS/LESS), or other languages that compile to JavaScript (CoffeeScript, C code passed through enscripten, etc.).

Introduction to JavaScript Source Maps – HTML5 Rocks

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.
This entry was posted in Whatever and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

%d bloggers like this: