It appears that the art of LESS debugging has made significant progress in the last year, and I am curious to know how many people have experience using developer tools in Chrome/Canary for debugging.
My goal is to make sure that when I debug a file, the CSS for the element appears as the LESS file rather than the CSS file. Seeing CSS line numbers is not helpful when I need to find the corresponding line number in the LESS file. While I can achieve this in Firefox with Firebug and Fireless, I am having trouble doing so in Chrome.
I attempted to follow the instructions here, but unfortunately, it does not seem to be working correctly for me even after following the steps carefully.
I am using OSX, have LESS installed via node.js, and am utilizing the ST2 plugin Less2CSS to process the less file upon saving. When I use the command
lessc --line-numbers=mediaquery style.less style.css
, it functions as expected and adds the debug info to the CSS file. However, when inspecting an element, it only shows the CSS file and not the LESS file.
I have verified that my Chrome preferences are set correctly (Support for SASS and Enable Source Maps).
Any thoughts on how to resolve this issue?