How display JavaScript stack trace? console.trace(); doesn't work

What version of JavaScript is running? in catch’s I need to dump the stack trace for debugging.

Supposedly in all modern browsers you can simply call


This should work according to:

Fuse is not a web browser, and JavaScript in Fuse is used just as an easy-to-learn scripting language for the business logic of your apps. Currently, Fuse supports ES2015 syntax (we’re looking into getting full ES6 support in), but that doesn’t mean you’re getting arbitrary methods supported.

In Fuse, the console object currently holds two methods: log() and dir().

If you’re after more advanced debugging, it’s possible to achieve that with VSCode.