Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My experience with Elixir has been great but one area of improvement is debugging. Maybe it's because I'm so used to using something like Chrome's developer tools, but I wish there was something as easy to use for setting breakpoints and inspecting the environment. Would love to know how others are debugging currently!


During a recent developer meetup in my country, I went to an elixir workshop where the host (an independent consultant) confided in us that several of her main clients had asked her to not reveal that they use elixir - they're apparently so happy with their choice that they treat it as a competitive advantage and claim to use a different stack when asked by competitors.

I can't know for sure if she was bluffing, but the idea really was interesting enough to make me wonder.

Edit: sorry, this was supposed to be a top level comment.


I've heard that a few times now, so I'm not sure if its a sort of community marketing meme or an actual truth. And I'm in the community :P


I'm surprised there are so many comments surrounding debugging in this thread. Did you use `require IEx; IEx.pry()` in your code at all? This gives you almost the exact same experience as calling `debugger;` within javascript. If so what was lacking with that experience?


Regarding debugging, I left a comment higher in this thread: https://news.ycombinator.com/item?id=20359699


Try IEx.pry. It's everything breakpoints and watches are and more, in my opinion.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: