One 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

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.
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
Pingback: JetBrains RubyMine Blog » Blog Archive » RubyMine 1.1 RC
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
Hello Gary,
Please replace $SCRIPT$ to path of the script you want to debug.
What about this error? Any thoughts?
#1 – I don’t have rdebug-ide, just rdebug. No gems appear available
#2 – when I execute this:
$ rdebug –port 9000 — source_tree
ruby: Is a directory – /home//source_tree (Errno::EISDIR)
Thoughts?
Hi Dave,
Rdebug-ide gem is required fom debugging within RubyMine.
Please use for installation:
gem install ruby-debug-ide
The latest argument should be your script you want do debug remotely.
Just a tip for anyone looking for it.
If you can’t seem to be able to connect to the remote server (10 sec thingie)
just add -host 0.0.0.0 to the command that will make the rdebug-ide listen to request from all machines.