The --stack-trace-limit flag instructs the V8 JavaScript engine to retain more stacks on each tick (each time round) of the event loop.
When an error occurs, a stack trace is generated that traces back through the preceding function calls as far as the defined limit allows.