E
E
Elsa Vetrova2019-07-30 08:24:17
Browsers
Elsa Vetrova, 2019-07-30 08:24:17

How to set up google developer tools so that it shows sass and not css?

When you look at the styles of an element whose css is compiled with sass, I would like chrome to show the desired line in the sass file. I found tips for a maximum of 2013, but there are no such settings in the canary anymore.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Elza Vetrova, 2019-07-30
@foxli

The problem was that I didn't have a sass source map. Since I work with compass, in which the map creation function is disabled by default (I remembered that there was no such problem in sass without compass), I just needed to write the line sourcemap = true in config.rb. Now when I view the element styles, I see the original sass.

E
Eugene Chefranov, 2019-07-30
@Chefranov

Create and connect Source Maps
https://denis-creative.com/source-maps-gulp-4/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question