
Debugging in Elixir with Marcos Ramos - EMx 214
Elixir Mix
00:00
The Runtime Tools for Bugging
The tracing is in that the sort of buggers also included in the runtime tools. So it's available for all the external developers and on whatever environment you are in. For example, I've used this to to the bug a problem where I have phoenix of sockets and phoenix of subs sending messages in a cluster. And sometimes we will drop some messages and we didn't know why we could not reproduce. By attaching a debugger to two nodes, I was able to see the messages being exchanged by the bubs up and then identify the problem. It was a case statement that was not handling a message properly.
Transcript
Play full episode