Skip to content

Instantly share code, notes, and snippets.

@simonexmachina
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save simonexmachina/7b867c46b129cd3dc484 to your computer and use it in GitHub Desktop.

Select an option

Save simonexmachina/7b867c46b129cd3dc484 to your computer and use it in GitHub Desktop.
Instructions for using source maps with broccoli-sass

We're currently working on making this just work, but in the interim you can use the following instructions.

Source Maps

You can enable source maps by setting sourceMap: true in the options, but it's likely that your SASS source files aren't in the output tree (and hence are not available to your dev tools over HTTP), so you'll need to tell your dev tools where to find the source files:

Instructions for Chrome

  1. Open DevTools > Sources
  2. Reveal the Sources pane on the left hand side (it might be hidden)
  3. Right-click and use Add folder to workspace to add your project as a Workspace
  4. Locate a SASS source files in the tree
  5. Right-click on one of them and use Map to File System Resource... to create the mapping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment