Add debugging for prime connections.