简体   繁体   中英

Chrome JavaScript source maps

I am developing a single page EmberJS app & use npm (package.json) & bower.json files

My question is for debugging purposes in Chrome using JavaScript source maps, is there some devtools npm package that I can install under my project? How can I do that?

I have the JS source map settings enabled for Chrome devtools.

As source maps are only necessary when combining and/or minimizing your JavaScript code, tools that combine and minimize code usually provide options to generate source maps as well. For external libraries, source maps should be available as well.

Source maps live next to the mimimized JavaScript file names yourJavaScript.js.map

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM