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

Just binding.pry works for me in rspec. Does that not work for you?


Thanks, I'll give it a try, though I'm using Minitest. I haven't really tried much yet on that front; I mostly just got to the point of realizing that this issue I'm working on now is really going to be a pain to get figured out without a debugger.

For this project, I just switched, like a month or so ago, to an all-Vim workflow. I mostly feel more productive in it so far, but a real debugger is the one thing that I had been putting off figuring out.


That's what I was going to recommend. I use "binding.pry" in my specs frequently. Just be sure to take it out before you commit ;)




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

Search: