debugging connection