From 25025a166f783d606d6c94831841d06241253736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?TZ=20=7C=20=E5=A4=A9=E7=8C=AA?= Date: Tue, 2 Apr 2019 13:42:16 +0800 Subject: [PATCH] chore: add notice of WebStorm 2019 (#31) --- lib/command.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/command.js b/lib/command.js index 47e6bab..57f607b 100644 --- a/lib/command.js +++ b/lib/command.js @@ -297,6 +297,7 @@ class CommonBin { let { debugPort, debugOptions, execArgvObj } = this.helper.extractExecArgv(argv); // extract from WebStorm env `$NODE_DEBUG_OPTION` + // Notice: WebStorm 2019 won't export the env, instead, use `env.NODE_OPTIONS="--require="`, but we can't extract it. if (context.env.NODE_DEBUG_OPTION) { console.log('Use $NODE_DEBUG_OPTION: %s', context.env.NODE_DEBUG_OPTION); const argvFromEnv = parser(context.env.NODE_DEBUG_OPTION);