diff --git a/doc/api/cli.md b/doc/api/cli.md index a2861024659af2..d06ff07dd914e7 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -280,6 +280,10 @@ effort to report stack traces relative to the original source file. Overriding `Error.prepareStackTrace` prevents `--enable-source-maps` from modifying the stack trace. +Note, Accessing `Error.stack` with source maps enabled can be an expensive +operation. Do check out the performance implications of `--enable-source-maps` +at [nodejs/node#41541](https://github.com/nodejs/node/issues/41541). + ### `--experimental-global-webcrypto`