-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
sea: allow using inspector command line flags with SEA #59568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Review requested:
|
1371698
to
9626cef
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #59568 +/- ##
==========================================
- Coverage 89.84% 89.84% -0.01%
==========================================
Files 667 667
Lines 196260 196259 -1
Branches 38563 38566 +3
==========================================
- Hits 176332 176327 -5
+ Misses 12382 12377 -5
- Partials 7546 7555 +9
🚀 New features to boost your workflow:
|
9626cef
to
de57287
Compare
Removed |
The inspector command line flags should be allowed via NODE_OPTIONS, though it should not be consumed when passed directly to the SEA. This patch allows it to consume inspector flags from NODE_OPTIONS and add tests for different behaviors.
de57287
to
efb8376
Compare
Rebased and added skip entries to sync up with #59563 |
CI is green. This needs a re-approval to land. @jasnell @addaleax @RaisinTen can you take another look please? Thanks! |
Landed in bcb802c |
The inspector command line flags should be allowed via NODE_OPTIONS, though it should not be consumed when passed directly to the SEA. This patch allows it to consume inspector flags from NODE_OPTIONS and add tests for different behaviors. PR-URL: #59568 Fixes: #51688 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
The inspector command line flags should be allowed via NODE_OPTIONS, though it should not be consumed when passed directly to the SEA. This patch allows it to consume inspector flags from NODE_OPTIONS and add tests for different behaviors.
Combined with #59560, users can still disable inspector options in NODE_OPTIONS if they set
execArgvExtension
to eithernone
orcli
. They could alos enable it via the special CLI flag--node-options="--inspect"
if they set it tocli
in the configuration.Fixes: #51688