Skip to content

[WIP] Allow disabling clustering for development environments#1229

Open
strugee wants to merge 1 commit intomasterfrom
disable-cluster
Open

[WIP] Allow disabling clustering for development environments#1229
strugee wants to merge 1 commit intomasterfrom
disable-cluster

Conversation

@strugee
Copy link
Copy Markdown
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
Copy Markdown

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.

1 participant