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 <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
Jackson Tian 2017-06-18 22:48:39 +08:00 committed by Ruben Bridgewater
parent c77e6d3f8c
commit 9f175d1229
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -136,14 +136,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');