tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

Accessing the process debugger under Docker #44

Closed achingbrain closed 9 years ago

achingbrain commented 9 years ago

Guvnor starts node-inspector on a random port and then allocates debug ports to each process randomly. With Docker ports need to be known in advance in order to forward them, so we can't access the debugger.

Refactor port allocation out into a service that either allocates from a known port range or falls back to randomly chosen open ports.