3 ms·
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 too
by wmock 7y ago
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!
- kace91 7y agoDuring 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.
- lawik 7y agoI'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
- pg_bot 7y agoI'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?
- innocentoldguy 7y agoTry IEx.pry. It's everything breakpoints and watches are and more, in my opinion.
- olikas 7y agoRegarding debugging, I left a comment higher in this thread: https://news.ycombinator.com/item?id=20359699 https://news.ycombinator.com/item?id=20359699