process: expose process.features.inspector#25819
process: expose process.features.inspector#25819joyeecheung wants to merge 4 commits intonodejs:masterfrom
Conversation
Instead of using process.config.variables.v8_enable_inspector to detect whether inspector is enabled in the build.
479900c to
731f799
Compare
test/common/index.js
Outdated
| } | ||
| } | ||
|
|
||
| function skipIfInspectorEnabled() { |
There was a problem hiding this comment.
I'm not sure it's worth increasing the surface area of common for this as it's only used in one place?
|
withoutintl build test failures are because Lines 48 to 70 in 5860614 e.g. not ok 1449 parallel/test-process-features |
|
@richardlau Thanks for the analysis, I've removed |
Co-Authored-By: joyeecheung <joyeec9h3@gmail.com>
|
Previous fixup didn't get the test.py indentation right. Fixed. CI: https://ci.nodejs.org/job/node-test-pull-request/20499/ |
|
Landed in c2359bd |
Instead of using process.config.variables.v8_enable_inspector to detect whether inspector is enabled in the build. PR-URL: #25819 Refs: #25343 Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
|
@joyeecheung This also needs to be backported to v11.x manually |
Instead of using process.config.variables.v8_enable_inspector to detect whether inspector is enabled in the build. PR-URL: #25819 Refs: #25343 Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
PR-URL: nodejs#54982 Refs: nodejs@aa0308d Refs: nodejs@9010f5f Refs: nodejs@52a40e0 Refs: nodejs@b3ef289 Refs: nodejs#2564 Refs: nodejs#25819 Refs: nodejs#27311 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
PR-URL: nodejs#54982 Refs: nodejs@aa0308d Refs: nodejs@9010f5f Refs: nodejs@52a40e0 Refs: nodejs@b3ef289 Refs: nodejs#2564 Refs: nodejs#25819 Refs: nodejs#27311 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
PR-URL: nodejs#54982 Refs: nodejs@aa0308d Refs: nodejs@9010f5f Refs: nodejs@52a40e0 Refs: nodejs@b3ef289 Refs: nodejs#2564 Refs: nodejs#25819 Refs: nodejs#27311 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Instead of using process.config.variables.v8_enable_inspector
to detect whether inspector is enabled in the build.
Refs: #25343
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes