Debugging Maya tools with PyCharm 2020.1

If you’ve been working with Maya tooling and PyCharm for a couple years you will have noticed that MayaCharm is not being updated as often as before. I’ve had to stick to quite old versions of PyCharm to even install MayaCharm, let alone run the remote debugging but that time is now gone. Everytime I have a new computer it is a big pain to set this up and running and recently I can’t get anything working!

I’m running PyCharm 2020.1 and MayaCharm is not compatible with that. Installing from disk will give you an incompatibility error.

I tried setting up debugging with the Python Debug Server and pydevd and it doesn’t work either.

How is everyone else doing with this? I don’t wanna use Eclipse but if you can’t even hookup the damn remote debugger to Maya then PyCharm is completely useless!

EDIT:
I’ve tried rolling back to earlier versions of PyCharm (going as far back as 2018.3) - and earlier versions of MayaCharm (as far back as 2.1) and no matter what, the MayaCharm Debugger never shows up in my run configs.

@passerby Can probably answer some of this better than not.
But I think it comes down to a lack of time, some changes on JetBrains side, and not using Maya as much as he used to in the past.

Yeah bob is on the point, i am a lot busier lately and no longer use Maya for work. Combine that with changes to newer PyCharm versions that broke things its hard to find the time to work on it and try and work around these new problems.

Though some of what you are mentioning might just be confusion of how a feature works. The latest released version of the plugin should run fine on PyCharm 2019.2 or lower.

Debug attaching is no longer part of the run config, but if you open Run and select Attach to Process... while the plugin is installed and you have Maya properly setup in the plugins settings. Running Maya instances will show up as possible targets to attach the debugger too. once its attached you can carry on and use the run config to execute code in Maya or do what ever you need to.

Edit:
Have not made progress recently, but my GitHub is the best place to track any progress to the >= 2019.3 support