Can I debug Scss in theme components?

What are you expecting in terms of debugging? are you looking to use Sass’ @debug?

It’s a little silly, but I’ve done this before to see the output of a Sass variable:

body {
  &:after {
    content: "#{$primary}" !important;
    display: block;
    background: salmon;
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99999999;
  }
}
4 Likes