This repository was archived by the owner on Feb 1, 2022. It is now read-only.
Prefer --inspect-brk over --debug-brk#43
Merged
hybrist merged 1 commit intonodejs:masterfrom Apr 6, 2017
Merged
Conversation
hybrist
reviewed
Apr 6, 2017
| @@ -98,7 +98,7 @@ function runScript(script, scriptArgs, inspectHost, inspectPort, childPrint) { | |||
| return new Promise((resolve) => { | |||
| const args = [ | |||
| '--inspect', | |||
Collaborator
There was a problem hiding this comment.
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.
Collaborator
|
Just looked it up: This will drop support for node <7.6.0. Will publish as major for the release to npm. |
Contributor
Author
|
Is it possible to take a dependency on |
Collaborator
|
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.
Contributor
Author
|
Done. PTAL. |
Collaborator
Collaborator
|
That OSX failure looks scary but I'd blame the latest nightly rather than this change: |
ofrobots
added a commit
to ofrobots/node
that referenced
this pull request
Apr 12, 2017
Node 8.x no longer has --debug-brk. Ref: nodejs/node-inspect#43 PR-URL: nodejs#11441 Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]> Reviewed-By: joshgav - Josh Gavant <[email protected]> Reviewed-By: cjihrig - Colin Ihrig <[email protected]> Reviewed-By: targos - Michaël Zasso <[email protected]>
4 tasks
This was referenced Apr 23, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.