Troubleshooting PyCharm Debug Egg File Path Configuration in 3DSlicer

I’ve been experiencing similar issues getting my Slicer Python Debug connection to PyCharm up and running.

Windows 10 Enterprise 19045.5131
Slicer 5.6.2
PyCharm 2024.3 (Pro)

I had previously installed PyCharm 2024.2.4 and encountered the .egg issue. I also found the stackoverflow thread on extracting- but the path wath still pointed to _attach_proces… under the .egg dir. I uninstalled .2.4 and installed 2024.3.

In PyCharm I configured the remote debugger

and I successfully built the pydev-pycharm within pycharm terminal as instructed:

I also noticed in my extension wizard created test module, the vtk and slicer imports showed an error- on a whim I pip import vtk:

The import pycharm warnings went away…

I updated my .egg path in the 5.6.2 pydebug

Launch the remote debugger

Try to Connect to PyCharm debugger within Slicer… and the process just hangs…