connection debugging