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 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

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -