diff --git a/src/node_options.cc b/src/node_options.cc index b118d695259ad1..e3a407d6cf0a70 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -270,7 +270,9 @@ DebugOptionsParser::DebugOptionsParser() { AddAlias("--inspect=", { "--inspect-port", "--inspect" }); AddOption("--debug", "", &DebugOptions::deprecated_debug); - AddAlias("--debug=", { "--inspect-port", "--debug" }); + AddAlias("--debug=", "--debug"); + AddOption("--debug-brk", "", &DebugOptions::deprecated_debug); + AddAlias("--debug-brk=", "--debug-brk"); AddOption("--inspect-brk", "activate inspector on host:port and break at start of user script", @@ -283,10 +285,6 @@ DebugOptionsParser::DebugOptionsParser() { Implies("--inspect-brk-node", "--inspect"); AddAlias("--inspect-brk-node=", { "--inspect-port", "--inspect-brk-node" }); - AddOption("--debug-brk", "", &DebugOptions::break_first_line); - Implies("--debug-brk", "--debug"); - AddAlias("--debug-brk=", { "--inspect-port", "--debug-brk" }); - AddOption("--inspect-publish-uid", "comma separated list of destinations for inspector uid" "(default: stderr,http)",