4 ms·
Yep. It is quite annoying. I remember working with some promise-library (bluebird iirc), which completely replaced error handling, including the stack traces. I
by julius 12y ago
Yep. It is quite annoying. I remember working with some promise-library (bluebird iirc), which completely replaced error handling, including the stack traces. I was working with transpiled code, and the browser could always give me really helpful stack traces, for normal code, because of the .map files. That libraries stack traces were useless and made debugging frustrating and time consuming.
- spion 12y agoBluebird should work just fine in conjunction with .map files. At least in node it definitely does - we've had no problems debugging typescript code and getting the actual lines in the typescript file via `source-map-support` [1] [1]: http://npm.im/source-map-support http://npm.im/source-map-support