How to use dbg on a long list without trimming the displayed data?

How can i use limit: :infinity in dbg? It seems like dbg automatically trims if a list is too long, does dbg has an option to use it like IO.inspect(limit: :infinity)?

Screen Shot 2022-11-28 at 2.07.56 PM

The official docs say dbg accepts the same options as IO.inspect so try it?

2 Likes

:sweat_smile: i’m trying to use dbg as dbg(var) forgot to try it with |> dbg(limit: :infinity) Thanks!