Use :sys
methods to get more information about your servers. You can use:
:sys.trace
:sys.get_status
:sys.statistics
Optionally, you can turn on debug mode by specifying the debug
parameter in a GenServer
start_link
call:
You can also enable tracing on an existing server using:
With debug turned on, you get a trace of messages:
You can also use :observer.start
to get access to a wealth of additional information, including all system messages.