process.traceDeprecation
process.traceDeprecation 属性指示是否在当前 Node.js 进程上设置了 --trace-deprecation 标志。有关此标志行为的更多信息,请参阅 'warning' 事件 和 emitWarning() 方法 的文档。
¥The process.traceDeprecation property indicates whether the
--trace-deprecation flag is set on the current Node.js process. See the
documentation for the 'warning' event and the
emitWarning() method for more information about this
flag's behavior.