I can’t remember how you can set it at startup time but you can do it at runtime using :erlang.system_flag(:backtrace_depth, new_depth)
. This returns the old value. The startup default is 8. Note that this sets the depth for all processes.
10 Likes