Enable `erlstack-mode' globally to peek at source code of functions
appearing in Erlang stack traces:

(require 'erlstack-mode)

Moving point to a stack trace will reveal code in question.  This
plugin works best with projectile, however it’s not a hard
requirement.