works with proper config Rated 4 out of 5 stars

Works with the official stable version, no need for patch.

Just needs to specify development and dumpLineNumbers. I use this just before including less.js:

var less = {
env:"development",
dumpLineNumbers:'mediaquery'
};