Looking at the state of processes in Elixir
When debugging gen_server, gen_statem and gen_event processes it can be helpful to take a look at the state.
Its easy to do this in Elixir by calling out to Erlangs sys.get_state/1
:
For more common sys
debugging functions, take a look here