In response to
…and you can use displayName in Node.js!
Check out stack-displayname package for Node.js.
By simply installing and requiring it you will get informative stack traces on each error by using displayName property — just like in all the browser devtools:
