From 22e10fd15ad9d92834538b55e381b5b967aea1ff Mon Sep 17 00:00:00 2001 From: bcoe Date: Sun, 20 Oct 2019 22:12:38 -0700 Subject: [PATCH] doc: --enable-source-maps and prepareStackTrace are incompatible document the fact that --enable-source-maps and prepareStackTrace are incompatible, see #29994 PR-URL: https://github.com/nodejs/node/pull/30046 Reviewed-By: Gus Caplan Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Joyee Cheung --- doc/api/cli.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/cli.md b/doc/api/cli.md index 9d8ab13dfd301c..9d26a457e4d3be 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -144,6 +144,9 @@ added: v12.12.0 Enable experimental Source Map V3 support for stack traces. +Currently, overriding `Error.prepareStackTrace` is ignored when the +`--enable-source-maps` flag is set. + ### `--es-module-specifier-resolution=mode`