Attaching to Process
The Attach to process feature allows you to debug a project which you are developing in RubyMine, but that you are unable to launch directly from your IDE for some reason.
Prerequisite for macOS users
Attach to process uses in its work the Python module
six, which may be missing in your macOS installation.
six Python module is not installed, then install it using any method of your convenience, for example
pip install six. Refer to this page for details.
Attach to a process
- From the main menu, choose or press Ctrl+Alt+F5.
- From the list of available processes, select the desired process. Simplify your search by typing the first letters of its name or PID. If there are several debuggers that can be used for the selected process, you can choose among them in the pop-up menu.
- Proceed with debugging the same way as you usually do it in RubyMine (set breakpoints, step through, pause and resume the process, evaluate expressions, etc.)
- When finished, detach the process: select the Stop the process button of the Debug Tool Window. or click the