Allow debug/ip/port to be set via environment vars.