问题
This has just became an issue today and was wondering if i've maybe touched something I shouldn't have but if you have a look at this picture here

This was taken from twitch just because i had a tab open, as you can see it has the css file that the style comes from and also the line number as per usual.
Now for some reason all of my web projects that I launch locally no longer have this on the dev tools and my tools look like this.

This is making development pretty damn annoying as with the way I work I generally need the line numbers there when I'm doing quick changes to styles. Right now I have to Ctrl + F the class to make changes which is a pain.
Any ideas?
回答1:
I discovered, having the same problem, that if you are working with local files, Chrome will not show the line number. You have to upload them, and then the line number will show up.
I don't know why this is happening.
来源:https://stackoverflow.com/questions/26276956/can-no-longer-see-line-number-of-a-css-style-in-chrome-dev-tools-when-inspecting