diff --git a/doc/api/cli.md b/doc/api/cli.md index 8ce39b62fe17e4..2ce2c530e111a2 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -336,6 +336,11 @@ effort to report stack traces relative to the original source file. Overriding `Error.prepareStackTrace` prevents `--enable-source-maps` from modifying the stack trace. +Note, enabling source maps can introduce latency to your application +when `Error.stack` is accessed. If you access `Error.stack` frequently +in your application, take into account the performance implications +of `--enable-source-maps`. + ### `--experimental-global-customevent`