Attaching to Local Process
PyCharm makes it possible to attach to a Python process, while running a Python script launched either outside of PyCharm, or inside PyCharm, but NOT in the debug mode.
To attach to a Python process, follow these steps
- Make sure that the desired script is running.
- On the main menu, choose . PyCharm shows the list of running Python processes on a system.
- From the list of Python processes, select the one to connect to, and click OK.
Last modified: 20 April 2016