This took lots of figuring out, so I'm going to document it here.
Install debugging gems
Show archive.org snapshot
on vagrant server (optionally add them to the Gemfile
)
Apparently they need to be the pre-release versions, but I'll experiment with this as the opportunity presents itself.
gem install ruby-debug-base19x --pre
gem install ruby-debug-ide --pre
Add remote SDK in RubyMine Show archive.org snapshot
Set-up remote debug config Show archive.org snapshot
Run debug command on vagrant
rdebug-ide --host 0.0.0.0 --port 1234 --dispatcher-port 26162 -- $COMMAND$
$COMMAND$
will be script/rails server
or bin/rails server
depending on the version of rails, with optional parameters such as -b 0.0.0.0
Posted by Daniel to Foxsoft (2016-01-14 14:29)