Elixir `dbg` lets you inspect every step of a pipeline, set breakpoints

by burntcaramelon 7/19/22, 1:14 PMwith 3 comments
by xrdon 7/19/22, 2:26 PM

I'm excited about this. The elixir debugging options have been a bit confusing to me. pry isn't really debugging, it's just a breakpoint with no ability to step through. The "debugger" recommended in the docs (:debugger.start()) is an ugly GUI application that pops out of the window. I really would like something better than IO.inspect/IO.puts (basically printf debugging), something like a regular command line debugger. As a newbee to elixir/phoenix this has been a gaping hole.