How not to show transferred files in Chrome developer tools when Ctrl + O

When you open the file, both the original and the transferred files are displayed. I would like to show only the original files (Firefox dev tools). Maybe?

+7
google-chrome-devtools
source share
3 answers

Firefox 23+ has the ability to display source sources instead of rewritten scripts:

Ff show original sources

Unfortunately, it seems you cannot enjoy it in Chrome. You can turn on the display of the script or not, but you will always see the actual included files that are included in the source HTML file.

All of these guides and links seem to agree:

Both files shown

Both files shown

Both files shown

Source and mapped files are shown

Source and mapped files are shown

Both original and compiled versions appear


It seems like if you really want to hide the rewritten JavaScript files in DevTools, FireFox is the way to success (with Chrome Canary 49).

+4
source share

The goal of the source map is to get readable source code, so if you don’t want to, just don’t create the source map or delete the .js.map file (or make it inaccessible on the production site).

0
source share

In the Chrome Dev Tools settings there is an option "Enable JavaScript source codes" (in the "Sources" section) - can’t this option be installed?

0
source share

All Articles