Add GDB debug for when a connection opens and closes.