Skip to content

No connection to the Blender while using the debug mode  #9

Description

@adamryczkowski

Hi!

I believe I have managed to install and configure the PyCharm-Blender-Plugin.

I've then created a new Blender Addon just as in the instructions you've provided.

I've used a toy blender plugin code "Move X Axis" available from https://docs.blender.org/manual/en/latest/advanced/scripting/addon_tutorial.html. The code installs a trivial Object addon, and I have verified it works on my Blender if I install it manually.

"Running" the Blender works: When I hit the "Run" button from within the "Blender-Plugin" panel (not the one I usually push to debug local Python code), I get the Blender opened with my addon installed.

When I hit the "Debug" I also get the Blender app opened with my addon installed (yes, the new version gets installed over whatever other version of my Addon I might have had). The problem is that the PyCharm status reports waiting for the "Process Connection..." forever.

In the meantime, when I set a breakpoint inside the code of my addon and execute it from within the Blender, I don't get the debug experience.

I have exactly the same problem on Ubuntu 20.04 with Blender 3.1.2 and PyCharm 2022.1 Professional installed from snap and on
MacOs 12.3.1 with PyCharm 2022.1 Professional and Blender 3.1.2

Blender_screenshot

image (3)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions