diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-01-30 22:29:30 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-02-02 00:45:05 +0300 |
commit | fa5e09753055edfe0e9a0f700dfcb4f356ac3c9d (patch) | |
tree | 9bca96daf093b2bd96791b794efd9197b5c29cca /src/node_process_object.cc | |
parent | 154efc9bdef3ba8df5d3dfe3b32102baf3ac4311 (diff) |
process: move DEP0062 (node --debug) to end-of-life
This has already been practically end-of-life since `node --debug`
alone would exit the process. This patch drops support of
`node --inspect --debug-brk` as well.
`node --inspect --debug-brk` has been deprecated since v8,
it has been maintained so that vendors can target Node.js
v6 and above without detecting versions.
The support of `--inspect`, which starts from v6, will reach
end-of-life in April 2019, it should be safe to drop the support
of `--inspect --debug-brk` altogether in v12.
Also removes `process._deprecatedDebugBrk`
PR-URL: https://github.com/nodejs/node/pull/25828
Refs: https://github.com/nodejs/node/pull/12949
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/node_process_object.cc')
-rw-r--r-- | src/node_process_object.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/node_process_object.cc b/src/node_process_object.cc index 89abe19a84f..f83f553c997 100644 --- a/src/node_process_object.cc +++ b/src/node_process_object.cc @@ -259,12 +259,6 @@ MaybeLocal<Object> CreateProcessObject( "_breakNodeFirstLine", True(env->isolate())); } - // --inspect --debug-brk - if (env->options()->debug_options().deprecated_invocation()) { - READONLY_DONT_ENUM_PROPERTY(process, - "_deprecatedDebugBrk", True(env->isolate())); - } - // --security-revert flags #define V(code, _, __) \ do { \ |