Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我的 Node.js 应用程序中抛出异常时,打印的堆栈跟踪被限制为 10 的深度。不幸的是,有时这不足以找到异常的来源。有没有办法配置 Node 以打印更深入的异常回溯?
$ node > Error.stackTraceLimit 10
看起来你可以在运行时更改