registering connection with debug/add-connection-for-event-fn