Skip to content

Commit

Permalink
chore: add notice of WebStorm 2019 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
atian25 committed Apr 2, 2019
1 parent 08ad7bc commit 25025a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/command.js
Expand Up @@ -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);
Expand Down

0 comments on commit 25025a1

Please sign in to comment.