Is there a simple way to output traces with Elixir syntax?

I am using :dbg (directly and via Dbg). The output of the traces comes out in Erlang syntax (maps, binaries). I was curious if there is a simple way to output traces with elixir syntax?

I don’t think this is possible currently. I believe this proposal by José is intended to address that. However, I don’t think it has landed.

I recently released the Erlex library for doing the conversion from Erlang --> Elixir in Dialyzer errors. It could be potentially leveraged for this.

2 Likes

Maybe https://github.com/nietaki/rexbug