Support debug on any port

Previously the port 5858 was hard coded. It was changed to use `process.debugPort` to specify which port to listen on.