How to print a stack trace from error in `Cause` in a native way (like console.error does)

First on the screenshot is Effect.logDebug(Cause.pretty(cause))
Second is Effect.logDebug(Cause.prettyErrors(cause))

How can i get the output of second (which i guess uses native node way of printing the stacktrace, that's why it has file paths from source maps and code snippet), but without the array wrapping it and a span at the end being printed?
image.png
Was this page helpful?