expose debugging port on child processes

If --debug is used when running, this will launch subsequent child processes with monotonically increasing debug ports.