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.
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.