Debugging Sass in Chrome on OSX Debugging Sass in Chrome on OSX google-chrome google-chrome

Debugging Sass in Chrome on OSX


To those having problems with the current pre-release version of SASS and compass: you are not alone and there is a workaround!

The current pre-release version is not compatible with compass. You need to be able to run the command 'compass' without an error, and whilst you have alpha version 162 installed, you get the LoadError.

Instead, install version 141 with the following command:

gem install sass -v 3.3.0.alpha.141 --pre

Note: you need the current stable version of compass, not the pre-release. The pre-release version of compass doesn't seem to work with build 162 or 141. Also, you should install compass before the pre-release version of sass, since compass will also install the currently released version of sass.

Hope that helps!


Source maps do actually work in OSX Chrome! I have several stylesheets in my dev environment, and I was stupidly inspecting styles that belonged to a stylesheet that didn't have a .css.map file yet. If you follow the steps above this should work for you, probably even with a current version of Chrome.