By using :erlang.trace.
By using :erlang.trace.