Skip to content
Myr

Remove `--inspect` & `--inspect-brk` from `execArgv` (#435)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ward Peeters · committed by GitHub · parent 1e5cb36 · Browse files · 2 files+59 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+59 added−1 removed

  • tests:+54 added−0 removed
  • other:+5 added−1 removed

2 files+59 added−1 removed

modified:test/node.js+54 added
modified:index.js+5 added-1 removed
232 unmodified lines
233 args = [];234 }235236 const stdio = normalizeStdio.node(options);237 const defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));238238 const {nodePath = process.execPath, nodeOptions = process.execArgv} = options;239 const {240 nodePath = process.execPath,241 nodeOptions = defaultExecArgv242 } = options;243244 return execa(245 nodePath,246 [
14 unmodified lines