invite friend debugging