Connection debugging