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

[WIP] Allow disabling clustering for development environments #1229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

strugee
Copy link
Member

@strugee strugee commented Nov 3, 2016

In particular, debugging with node debug is difficult when clustering is enabled.

This is a WIP, not sure when I'll have time to finish it. Call this PR a note to self to finish up this branch.

@strugee strugee changed the title Allow disabling clustering for local environments Allow disabling clustering for development environments Nov 3, 2016
@strugee strugee changed the title Allow disabling clustering for development environments [WIP] Allow disabling clustering for development environments Aug 7, 2017
@ghost
Copy link

ghost commented Mar 21, 2018

In Node.js >= 6 with node --inspect and children == 1 works fine, but with --inspect-brk or node inspect bin/pump the process die and the logs shows

{"name":"pump.io","hostname":"parabola","pid":22381,"component":"cluster","level":50,"msg":"worker 22458 died (12). restarting...","time":"2018-03-21T17:28:01.641Z","v":0}
Debugger listening on ws://127.0.0.1:9241/50dba07c-2492-47c0-9026-f3a98d7a0b94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant