Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster: remove debug arg handling #12738

Closed
wants to merge 1 commit into from
Closed

Conversation

Trott
Copy link
Member

@Trott Trott commented Apr 29, 2017

--debug and --debug-brk are no longer valid flags so remove special
handling for them in the cluster module. Even if they are restored, they
will be aliases for inspect and will not use the legacy debug protocol,
so the special handling will not be needed.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

cluster debugger

--debug and --debug-brk are no longer valid flags so remove special
handling for them in the cluster module. Even if they are restored, they
will be aliases for inspect and will not use the legacy debug protocol,
so the special handling will not be needed.
@Trott Trott added cluster Issues and PRs related to the cluster subsystem. debugger windows Issues and PRs related to the Windows platform. labels Apr 29, 2017
@Trott
Copy link
Member Author

Trott commented Apr 29, 2017

@Trott Trott removed the windows Issues and PRs related to the Windows platform. label Apr 29, 2017
@refack
Copy link
Contributor

refack commented Apr 29, 2017

What about line 108?

@Trott
Copy link
Member Author

Trott commented May 2, 2017

Landed in dc3bbb4.

@refack: Might not want to touch line 108 until the whole "are we aliasing --debug-brk etc." stuff is worked out. The code in this PR can go whether or not --debug and --debug-brk are aliases for --inspect and --inspect-brk, but the regexp in line 108 may be needed.

Trott added a commit to Trott/io.js that referenced this pull request May 2, 2017
--debug and --debug-brk are no longer valid flags so remove special
handling for them in the cluster module. Even if they are restored, they
will be aliases for inspect and will not use the legacy debug protocol,
so the special handling will not be needed.

PR-URL: nodejs#12738
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@Trott Trott closed this May 2, 2017
anchnk pushed a commit to anchnk/node that referenced this pull request May 6, 2017
--debug and --debug-brk are no longer valid flags so remove special
handling for them in the cluster module. Even if they are restored, they
will be aliases for inspect and will not use the legacy debug protocol,
so the special handling will not be needed.

PR-URL: nodejs#12738
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@jasnell jasnell mentioned this pull request May 11, 2017
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
3 tasks
@Trott Trott deleted the dash-dash-debug branch January 13, 2022 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cluster Issues and PRs related to the cluster subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants