Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source map is not visible at Chrome network tab

Before Google Chrome update I saw source map files at Chrome Devtools on Network tab. Now, after update to version 43.0.2357.134 m I don't see them.

Maybe my code is wrong? Or it's done intentionally to hide those source maps?

like image 206
Viacheslav Kondratiuk Avatar asked Jul 20 '15 18:07

Viacheslav Kondratiuk


People also ask

How do I enable source maps in chrome?

Browser support To enable source maps in Google Chrome, go to Developer Tools, click the little cog icon, and then make sure that “Enable Javascript source maps” is checked. That's it.

How do I know if my source map is working?

You can view it by going to Settings -> Symbol Mapping -> Source Maps in your Rollbar project. This screen shows all attempt to access source maps, both successful and unsuccessful. It includes a search feature that can be used to look for source maps for specific Javascript files.

How do I turn off source maps in chrome?

Open Developer Tools, go to "Settings" for Developer Tools, then uncheck Enable JavaScript Sourcemaps under the "Sources" settings.


2 Answers

There is a way to get this information by searching for "map" in

chrome://net-internals/#events

chrome://net-internals/#events

like image 87
Frison Alexander Avatar answered Sep 21 '22 15:09

Frison Alexander


This was a side-effect of fixing bug 362913 which was a feature request being tracked in issue 465032.

If you have a need for seeing the map files then please file a new issue for it and explain the use-case for why you need it.

like image 24
Garbee Avatar answered Sep 19 '22 15:09

Garbee