Added debug output for port exiting.