Reputation: 27114
I'm trying to debug a remote server.
How would I perform ruby-debug and access the console through breakpoints?
Is that possible to do and click through the site to activate those breakpoints?
Upvotes: 3
Views: 3995
Reputation: 72745
If you can ssh to the server, you're probably better of running your debugger locally over there.
Otherwise, you might want to take a look at http://blogs.oracle.com/martink/entry/remote_debugging_debug_whatever_ruby.
Upvotes: 0
Reputation: 7098
ruby-debug has had out-of-process debugging for a long while. In fact the code mentioned in that Noufal Ibrahim cites, is using the same underlying common code.
However I've just added some documentation describing how it works in the reference manual.
See http://bashdb.sourceforge.net/ruby-debug.html#Remote-Debugging and http://bashdb.sourceforge.net/ruby-debug.html#Out_002dof_002dprocess-execution-options
Upvotes: 3