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