AndreasMadsen / trace

Creates super long stack traces
https://trace.js.org
MIT License
194 stars 18 forks source link

does it work in frontend when used with webpack/browserify #27

Closed sagiavinash closed 8 years ago

sagiavinash commented 8 years ago

does it work only in node envirnonment or is it universal?

AndreasMadsen commented 8 years ago

only node.

The problem is that you need to be notified about every single async operation that happens in the program. In node we have created (work in progress) such a notification system, called async_wrap, however this does not exists in the browser.

There is a very old issue about adding similar functionality to the browser: https://github.com/nodejs/tracing-wg/issues/9