How to see source line numbers Concat and Minifying JS in Grunt.js

231 Views Asked by At

I use Concat and Uglify tasks for Grunt.js. I get one minified js-file combined of multiple *.js after their uglification. That works fine. If I get error, the browser uses source map to view the error line number in dev file (one of that multiple files).

But if I use console.log('...') I see the line number from the result (uglified and combined file), not the dev one.

How can I make console to show me the dev file line number? Thanks.

0

There are 0 best solutions below