Prying in Elixir with dbg/2 and iex
People asked me in previous videos, what about dbg/2 with iex? Spoiler alert — also awesome! ⚡️
People asked me in previous videos, what about dbg/2 with iex? Spoiler alert — also awesome! ⚡️
TIL about the `:printable_limit` option for `dbg/2` and `IO.inspect/2`.
Elixir 1.14 introduced `dbg`, a debugging helper that is much more powerful than `IO.inspect` but equally easy to use!