How to start debugging a web socket connection?

You should show your user_socket.ex file… it would be easier.