From d63d51968c9cf5cd445d4b2ff1fa915066e39d42 Mon Sep 17 00:00:00 2001 From: bcoe Date: Sun, 20 Oct 2019 22:12:38 -0700 Subject: [PATCH 1/3] doc: --enable-source-maps and prepareStackTrace are incompatible document the fact that --enable-source-maps and prepareStackTrace are incompatible, see #29994 --- doc/api/cli.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/cli.md b/doc/api/cli.md index ed2a0f1b1ce9a5..67d909581357e5 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. +Note, that `--enable-source-maps` does not work in conjunction with the +`Error.prepareStackTrace` hook. + ### `--es-module-specifier-resolution=mode`