Is it possible to perform ruby ​​debugging on a remote server?

I am trying to debug a remote server.

How to run ruby-debug and access the console through breakpoints?

Can I do this and click on a site to activate these breakpoints?

+3
source share
2 answers

ruby-debug has been debugging for a long time. In fact, the code mentioned in this example, referencing Noufal Ibrahim, uses the same basic generic code.

However, I just added some documentation describing how it works in the reference guide.

See http://bashdb.sourceforge.net/ruby-debug.html#Remote-Debugging and http://bashdb.sourceforge.net/ruby-debug.html#Out_002dof_002dprocess-execution-options

+4

Source: https://habr.com/ru/post/1793193/


All Articles