0:00 / 0:00
Episode 4: New Debugging Tricks in iex
Exploring Elixir
1.3K subscribers • 4 videos on Hallway
- Recommended by 2 people: 2 in engineering communities.
- A classic. People kept recommending it from 2017 to 2022.
- May be out of date. The tools, versions or practices it shows have likely moved on.
Intermediate. Assumes working knowledge.
2.3K views9 years ago2 recommendations
Programming languagesTools and practiceElixir and ErlangDebugging
How to use new debugging features in Elixir 1.5's interactive shell, including IEx.pry and editor integration.
A look at new debugging features available in iex in Elixir 1.5 including function header mismatch identification, opening modules and functions in editors, and prying.Why it's here
2 people recommend thisWhat people say. Recommended as a helpful guide to debugging features introduced in Elixir 1.5.
u/anpeacehin r/elixir • Recommends
On “The future of elixir”
Please tell me you’re not just using `breakpoint!` because you’d be missing out on the power of `IEx.pry`! Personally, I’ve found debugging in a Elixir to be much more developer friendly than say Ruby or Python, especially after the improvements in Elixir 1.5 for IEx. That said, IDE integration is still definitely improving. Fortunately, I mostly use vim and there are a good number of packages that extend vim with IDE-like features for Elixir.
Check out this AppSignal post on Three Ways to Debug Code in Elixir and this Exploring Elixir video on New Debugging Tricks in iex – hope these help your workflow!