dumberjs / dumber-gist

A lightweight online IDE to write JS SPA prototypes in your own GitHub gists.
https://gist.dumber.app
MIT License
28 stars 2 forks source link

Error doesn't show original code position #37

Open 3cp opened 4 years ago

3cp commented 4 years ago

The error proxied to embedded app console only shows entry-bundle line no and column no. While the real browser console shows the error with proper source map link, the information (original source map position) is not in the error event object, hence is not sent to the embedded app console.

Might need https://github.com/evanw/node-source-map-support to alter the original error event.