How not to show transpiled files in Chrome Developer Tools when Ctrl + O
Both original & transpiled files are displayed when opening a file. I'd like only to show original files (Firefox dev tools do this). Possible ?
Firefox 23+ has the option to show original sources instead of transpiled scripts:
Unfortunately, it seems you cannot enjoy this in Chrome. You can enable script mapping, or not, but you will always see the actual included files that are included in the source HTML file.
All of these tutorials and references seem to agree:
It seems that if one really wants to hide the transpiled JavaScript files in DevTools, FireFox is the way to go for now (as of Chrome Canary 49).
源地图的目标是能够获得可读的原始代码,所以如果你不需要它,就不要生成源地图或删除.js.map文件(或使其无法在生产站点上访问)。
在Chrome开发工具的设置(“源”下)中有一个“启用JavaScript源地图”选项 - 是否取消设置该选项的帮助?
链接地址: http://www.djcxy.com/p/82072.html上一篇: C ++