Ask HN: How do you debug your rails applications?
Just wondering what the consensus is on the best tools for debugging rails apps.
4 comments
I use the ruby-debug gem.
Quote from a co-worker: "If you need to use a debugger, your code is too complicated. :)"
Quote from a co-worker: "If you need to use a debugger, your code is too complicated. :)"
I use the Netbeans IDE debugger. It can get hung and crash your rails app if you put breakpoints in certain places, but it's pretty good for simple debugging.
I use unit tests and puts statements to debug most of the time. It can be faster than stepping through an actual debugger.
the ruby-debug gem has always worked for me.