Unless I've installed it wrongly (which is quite possible; it didn't go smoothly), the CLI reports runtime line numbers against the minified and transpiled code, rather than against the original source code. This makes debugging difficult because even the file names are not necessarily relevant.
Best AnswerIs anyone else suffering from this problem?
It's easy to test:create an index.js something like this:
console.log("line 10");For me, the CLI log reports that the message is written at line 2, rather than 10. This is because it's reporting against the minified code. The problem is worse if 'import' is used, because all files are rolled into index.js.
Best Answer