Adds connection debugging