6

I am having very unexpected problem on my Google Chrome inspector today. When I was inspecting my local HTML files I noticed I was unable to see from which css file, my classes were coming from. It's very strange because it's always showed it before. Here is the Screen shot

enter image description here

But if I inspect the web form not from Local it shows the files:

enter image description here

Why it's doing this? Is it doing it because of any recent Updates of Google Chrome ? How I can make it work for Local files too ? I need it badly.

Thanks

Burpy Burp
  • 451
  • 3
  • 12
Raihan
  • 2,491
  • 3
  • 19
  • 34

3 Answers3

1

I just fixed this issue by referencing source maps relative to the workspace root. See my answer here for more information.

Community
  • 1
  • 1
cchamberlain
  • 14,693
  • 6
  • 52
  • 67
0

I had the same problems as you.
Try to uncheck "Enable CSS source maps" in the "Sources" group of "DevTools settings".
I suppose that one is for SASS/LESS files, but for some reason it affects normal CSS files as well.

Linuxios
  • 31,993
  • 12
  • 82
  • 110
0

This seems to be a bug. See https://crbug.com/422073 to track the progress on this issue and comment there if you have additional information. I am not able to reproduce this problem so far.

vsevik
  • 9,129
  • 3
  • 16
  • 11