debugging pub/sub