adds debug statement to client connection