From df5d8e031a4f886fc79bbe7190a4885e496a0225 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Sun, 4 Jun 2017 22:06:57 -0400 Subject: [PATCH] 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 Reviewed-By: Luca Maraschi Reviewed-By: Jeremiah Senkpiel Reviewed-By: James M Snell --- src/node.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/node.cc b/src/node.cc index 4aa89b5058110a..3a7e4049fbf516 100644 --- a/src/node.cc +++ b/src/node.cc @@ -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,