Debug for connection