New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@debug should call to_sass instead of to_s on objects passed to it. #953

chriseppstein opened this Issue Oct 6, 2013 · 1 comment


None yet
3 participants

chriseppstein commented Oct 6, 2013

Also, maybe inspect($value) could return a string that is to_sass on the value so that strings can be constructed.


This comment has been minimized.


HugoGiraudel commented Oct 21, 2013

It would be quite cool to have a function inspect() or debug() that returns a list as a string or something. Kind of JSON-like, I don't know.

On topic, I made my own debug helper to output the content of a list as a pseudo-element on body: Demo:

It's kind of overkill, but when working on complex demo with Sass, such a helper can really come in handy. Thus I'm looking forward the inspect function. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment