-
Notifications
You must be signed in to change notification settings - Fork 45
Conversation
lib/_inspect.js
Outdated
@@ -98,7 +98,7 @@ function runScript(script, scriptArgs, inspectHost, inspectPort, childPrint) { | |||
return new Promise((resolve) => { | |||
const args = [ | |||
'--inspect', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we make this change, should this just be --inspect-brk=${inspectPort}
?
P.S.: What I mean is that we don't need to pass --inspect
anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack.
Just looked it up: This will drop support for node <7.6.0. Will publish as major for the release to npm. |
Is it possible to take a dependency on |
I would prefer delaying the pain of getting 3rd party modules working in our bundled build (where we get away with just dumping the files into node right now). So 👍 for a regex solution even though it's not "perfectly clean". |
Node 8.x no longer has --debug-brk.
Done. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Passes locally, CI: https://ci.nodejs.org/job/node-inspect-continuous-integration/34/ |
That OSX failure looks scary but I'd blame the latest nightly rather than this change:
|
Node 8.x no longer has --debug-brk. Ref: nodejs/node-inspect#43 PR-URL: nodejs#11441 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: joshgav - Josh Gavant <josh.gavant@outlook.com> Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com> Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
Node 8.x no longer has --debug-brk and --inspect-brk is backwards
compatible with Node 7.
Ref: nodejs/node#12197.
I will be cherry-picking this on nodejs/node#11441.