express-mongoose-es6-rest-api
express-mongoose-es6-rest-api copied to clipboard
Error use line number in original code using sourcemap instead of /dist code
The error logging points to the line number in the /dist code. Given that we have the sourcemap from gulp, is it possible to point to the file and line number based on the original code?
@KunalKapadia @laumair I have same question.
@mmestani I actually figured this out. I installed this npm modules: https://github.com/evanw/node-source-map-support
Follow the installation direction and the sourcemap line number issue gets solved automagically!
@mmestani Currently the boilerplate misses this functionality. @KunalKapadia maybe you need to take a look if its important to add. Otherwise, @ruler88 managed to sort it out with https://github.com/evanw/node-source-map-support.
P.S: I haven't really used this one. Seems good to me.
@ruler88 @laumair thanks, I'll try this one. For my opinion its good to have buit-in. This project looks very promising to me :)
@laumair Would you like to take this up as well ? If not, I'll start working on this. Seems like a small one.
@KunalKapadia Apologies for the late reply. Have been really busy with stuff. Is this picked already? @mmestani
@laumair Not picked up. Please feel free to raise a PR.