Show syntax error on browser console in lesscss-Collection of common programming errors

Can this be possible, I wanted to show the code generated errors to the browser’s console panel of the browser for LessCss

In the case of any runtime errors or syntax error or any compiler issues, it shows the error hint or line number where the error exactly is? May be using JavaScript or jquery could be the solution.

Can anyone recommend an alternative to this?