mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
src: remove process._inspectorEnbale
This commit removes process._inspectorEnbale which was spelled incorrectly, and is being properly implemented in a separate PR. Refs: https://github.com/nodejs/node/pull/12949 PR-URL: https://github.com/nodejs/node/pull/13460 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luca Maraschi <luca.maraschi@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -3400,13 +3400,7 @@ void SetupProcessObject(Environment* env,
|
||||
READONLY_PROPERTY(process, "traceDeprecation", True(env->isolate()));
|
||||
}
|
||||
|
||||
// TODO(refack): move the following 4 to `node_config`
|
||||
// --inspect
|
||||
if (debug_options.inspector_enabled()) {
|
||||
READONLY_DONT_ENUM_PROPERTY(process,
|
||||
"_inspectorEnbale", True(env->isolate()));
|
||||
}
|
||||
|
||||
// TODO(refack): move the following 3 to `node_config`
|
||||
// --inspect-brk
|
||||
if (debug_options.wait_for_connect()) {
|
||||
READONLY_DONT_ENUM_PROPERTY(process,
|
||||
|
||||
Reference in New Issue
Block a user