add more debug output for connection