From b964e771171cdac3e2b86b8a68a153c9f6f42790 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 ed7fcdcc9e66a6..7769b0219417b4 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`