astashov / vim-ruby-debugger

Vim plugin for debugging Ruby applications (using ruby-debug-ide gem)
435 stars 36 forks source link

Can this be used with ruby (not on rails)? #68

Closed jagill closed 12 years ago

jagill commented 12 years ago

I don't see anything obvious in the documentation, but maybe I'm just missing something?

To be clear, I'm using a pure ruby script, no rails, no server, nothing for the browser to point to. But i'd love to debug it in vim!

astashov commented 12 years ago

This is in Vim doc, https://github.com/astashov/vim-ruby-debugger/blob/master/doc/ruby_debugger.txt#L141 :) Just don't forget to put a breakpoint before running the script, of course, since it will start to execute immediatly after running.