Repository navigation
fix: bootstrap the node environment after we setup the InspectorAgent - #19317
Merged
Merged
Conversation
MarshallOfSound
force-pushed
the
inspect-brk
branch
3 times, most recently
from
July 18, 2019 21:58
4d31f89 to
f3db4e5
Compare
MarshallOfSound
force-pushed
the
inspect-brk
branch
from
July 18, 2019 22:02
f3db4e5 to
35bd5d9
Compare
deepak1556
approved these changes
Jul 18, 2019
deepak1556
left a comment
Member
There was a problem hiding this comment.
LGTM for short term fix. Really would like to see this get fixed in upstream :) Node for its main instance seems to initialize the inspector same way as this PR calling Environment::IntializeInspector, I like the proposal of making environment initialize the inspector and providing a hook for embedders to override.
The current dependency cycle between inspector, agent and environment is weird.
|
Release Notes Persisted
|
Contributor
|
I was unable to backport this PR to "6-0-x" cleanly; |
Contributor
|
A maintainer has manually backported this PR to "6-0-x", please check out #19332 |
MarshallOfSound
added a commit
that referenced
this pull request
Jul 19, 2019
MarshallOfSound
added a commit
that referenced
this pull request
Jul 19, 2019
MarshallOfSound
added a commit
that referenced
this pull request
Jul 19, 2019
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #19316
In node 12.4 they bootstrap the environment before we get our hands on it resulting in a
CHECKwhen we try to set up the inspector agent. I'm gonna work on upstreaming something but for now this patch will get us going again 👍Notes: Ensure using the
--inspect-brkargument does not cause a crash