diff --git a/test/sequential/test-inspector-enabled.js b/test/sequential/test-inspector-enabled.js index f14e7c17d817c5..33140ba5074f44 100644 --- a/test/sequential/test-inspector-enabled.js +++ b/test/sequential/test-inspector-enabled.js @@ -19,7 +19,7 @@ assert( 'inspector.isEnabled() should be false after _debugEnd()'); `; -const args = ['--inspect', '-e', script]; +const args = ['--inspect=0', '-e', script]; const child = spawn(process.execPath, args, { stdio: 'inherit', env: { ...process.env, NODE_V8_COVERAGE: '' }