Can't stay attached to process for excel
I am creating python functions to use in excel with Pyxll and to debug I need to attach a process to excel but there are two errors I run into.
- It is not stable, and I have to reattach the process every time. If I attach a process and run once then it will disconnect and I have to close all my workbooks, reopen and attach it again.
- Normal breakpoints don't work and instead I must use breakpoint()
From reading this forum it looks like there are a lot of issues with the attach to process in PyCharm. Currently using PyCharm 2024.3.5 (Professional Edition)
Please sign in to leave a comment.
Hi Conor Houston ,
As a general troubleshooting step, please try updating to the latest PyCharm 2025.1.1.1 and check if the issue persists on it.
If updating doesn't help, please create an issue on YouTrack (https://youtrack.jetbrains.com/issues/PY) and attach all relevant information (including IDE logs from Help | Collect Logs and Diagnostic Data and screenshots / screen-cast representing the issue) for quicker resolution.