|
|
|
|
|
by aes
4848 days ago
|
|
So is there a way to use the source maps with node.js stacktraces? Specifically, I tried this test.coffee: throw new Error("Test")
Now running it with coffee test.coffee
still reports the wrong line number in the stack trace.There's supposedly node-source-map-support (https://github.com/evanw/node-source-map-support), but even installing that and adding "require 'source-map-support'" won't help. |
|
test.coffee:
Now do: This gets you the correct line numbers.