Attach to Process…

PyCharm also has the ability to attach its debugger to separately running processes. This can be very helpful when trying to debug a command-line application that require changes in parameters or when trying to debug games. The PyCharm debugger simply looks for running the Python processes:

Attach to Process…

Get Mastering PyCharm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.