From ea0a8820414aa9a38a442500842e77386d06ea90 Mon Sep 17 00:00:00 2001 From: Jackson Tian Date: Sun, 18 Jun 2017 22:48:39 +0800 Subject: [PATCH] lib: remove the invalid command line options The option --remote_debugging_server and --debug-agent are not supported now. PR-URL: https://github.com/nodejs/node/pull/13764 Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Michael Dawson Reviewed-By: Ruben Bridgewater --- lib/internal/bootstrap_node.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/internal/bootstrap_node.js b/lib/internal/bootstrap_node.js index 3c608fccd1ed78..1d559a2e34b84b 100644 --- a/lib/internal/bootstrap_node.js +++ b/lib/internal/bootstrap_node.js @@ -119,14 +119,6 @@ NativeModule.require('node-inspect/lib/_inspect').start(); }); - } else if (process.argv[1] === '--remote_debugging_server') { - // Start the debugging server - NativeModule.require('internal/inspector/remote_debugging_server'); - - } else if (process.argv[1] === '--debug-agent') { - // Start the debugger agent - NativeModule.require('_debug_agent').start(); - } else if (process.profProcess) { NativeModule.require('internal/v8_prof_processor');