RubyMine 1.0.5: Remote debugging
May 15th, 2009 by Oleg ShpynovOne of the new features of RubyMine 1.0.5, released yesterday, is remote debugging support. Here’s a small guide for using this feature:
- Create new remote debug run configuration.

- Specify remote host and remote port to connect to. Ensure your firewall doesn’t block connections at given port.
- Specify Remote root folder and Local root folder options.These options will be used for sources mapping on remote and local machines. If root folders selected are incorrect, the debugger will connect but no breakpoints will be reached.
- Run rdebug-ide –port SELECTED_PORT — SCRIPT on the server side
We are ready to start. Launch created remote debug run configuration and explore what’s happening on the remote machine!
-JetBrains RubyMine Team
Tags: debug
May 15th, 2009 at 10:52 am
Is there an easy way to debug out of process rake tasks? I’d like to debug tests as they run through rake, since sometimes there’s different execution behavior than there is in RubyMine.
May 18th, 2009 at 3:14 am
Hello Kevin,
When you run rake task inside RubyMine it creates correspoding run configuration, so you should go to run configurations editor, save it and debug.
Hope this helps
May 22nd, 2009 at 5:19 pm
[...] Remote Debug for Ruby and Rails [...]
May 30th, 2009 at 2:12 am
I tried this - but when I run the configuration, rdebug-ide exits and displays the following ‘Uncaught exception: no such file to load — $
‘. I am literally typing in the command shown by the IDE which is ‘rdebug-ide –port 1234 — $SCRIPT$’.
Can anyone help with this please ?
Many Thanks
Gary
May 31st, 2009 at 6:04 am
Hello Gary,
Please replace $SCRIPT$ to path of the script you want to debug.