Attach to process
RubyMine provides a way to attach the debugger to both local and remote processes.
Attach to process requires the following components to be installed on the development machine:
Attach to a local process
Press Control+Alt+F5 or selectfrom the main menu.
RubyMine will show the list of the running local processes. Select the process to attach to.
If necessary, narrow down the list of processes by typing the first letters of its name or PID.
Note that in case the process you have attached to does not provide debug information, breakpoints will be unavailable and stepping will be performed in the disassembly view.
Detach from a process
The procedure of detaching from a remote process is the same as for stopping a local debug session, however, the effect is different. When you detach, the debugging session closes but the process continues to run.
Click the Stop button on the main toolbar on in the Debug tool window.
Alternatively, click Stop on the main toolbar or press Control+F2, then select the session to be closed.