I modified relx.config in a cowboy example,add runtime_tools
{release, {echo_get_example, "1"}, [runtime_tools, echo_get]}.
{extended_start_script, true}.
when I use dbg:start() -> dbg:tracer() -> .... nothing outputs when calls then functions. why?
Since you can actually call the
dbg
module you have most likely succeeded in including it in the release.Are you connecting with a remote node? In that case, you have to tell
dbg
to trace on the node you're connected to:More details here and in the documentation for
dbg
.