Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2020-05-29 01:51:57 +0300
committerJames M Snell <jasnell@gmail.com>2020-06-01 18:29:28 +0300
commita85ce885bddaf5fca00dc7d13eb3c5a99663e60f (patch)
treea72f5fa2dfe4ff08de680007058a1823468e4162 /lib/internal/main
parent1904e7372d9b8bdb36bcdc4492d332dd14c203d9 (diff)
src: remove deprecated node debug command
The `node debug` command has been deprecated for a while now. There's really no good reason to keep it around. Move to end of life. PR-URL: https://github.com/nodejs/node/pull/33648 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Diffstat (limited to 'lib/internal/main')
-rw-r--r--lib/internal/main/inspect.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/internal/main/inspect.js b/lib/internal/main/inspect.js
index f6777fe852b..4873683048c 100644
--- a/lib/internal/main/inspect.js
+++ b/lib/internal/main/inspect.js
@@ -8,11 +8,6 @@ const {
prepareMainThreadExecution();
-if (process.argv[1] === 'debug') {
- process.emitWarning(
- '`node debug` is deprecated. Please use `node inspect` instead.',
- 'DeprecationWarning', 'DEP0068');
-}
markBootstrapComplete();