phoenix framework - Debugging an Elixir Application -
i come ruby on rails background. so, binding.pry best friend. started picking elixir , i'm enjoying it, i'm curious best debugging techniques are? basically, counterpart of pry elixir? also, debugging paradigm different because it's functional?
the closest thing pry
iex.pry
.
you can start elixir/phoenix application this:
iex -s mix phoenix.server
or, if don't use phoenix:
iex -s mix
this spawn repl works ruby's irb
, can pretty debug want.
this comprehensive article authors of elixir explains how use iex.pry
, other debugging techniques, may want have read.
Comments
Post a Comment