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

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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -