Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
人们在使用 Ruby 1.9.3 的 Rails4 中使用什么设置调试断点?我曾经使用 rdebug,但这不适用于 Rails4 和 ruby 1.9.3。
我试过了
ruby-debug - doesn't install with ruby 1.9.3 byebug - needs ruby 2.0 ruby-debug-ide - get error = cannot load such file -- ruby-debug-base (LoadError)
使用调试器。一般来说,这样做
ruby-debug - for ruby 1.8 debugger - for ruby 1.9 byebug - for ruby 2.0
事情应该没问题。