Deprecated pydevd-pycharm module not recognized by IDEA 2019.1 - Remote Debugging not possible
With 2019.1 of IntelliJ, with the Python, Vagrant, and Docker plugins installed, all the tools are available for remote debugging python scripts through the IDE (ideally using a ssh deployment connection in conjunction with a remote python run configuration).
Per the Jetbrains tutorial, and per Intellij's request I am to pip install pydevd-pycharm. Version 2019.1 of intellij specifically requests: 'pip install pydevd-pycharm~=191.7479.19'.
Install proceeds as follows: /home/me/anaconda3/envs/app/bin/python3.7 -m pip install pydevd-pycharm~=191.7479.19
Requirement already satisfied: pydevd-pycharm~=191.7479.19 in /home/me/anaconda3/envs/app/lib/python3.7/site-packages (191.7479.30)
The version ending in .30 is installed, and if using ==*.19, no matching module is found. In 2019.1, after installing the python plugin, no such directory exists <IDEA>/plugins/python/ and does not contain the pycharm egg. This egg used to be available in the github releases, and still remains in some, but not for the desired 7479 release.
Proceeding with attempting to run the remote debugger using packaged module 191.7479.30, the message is displayed:
Connected to pydev debugger (build 191.7479.30)
Warning: wrong debugger version. Use pycharm-debugger.egg from PyCharm installation folder
Or execute: 'pip install pydevd-pycharm~=191.7479.19'
Neither of the suggested solutions resolve to the required egg or module version. How can I obtain this egg? Is there another way to install this module using an exact version?
Please sign in to leave a comment.
2019.1 is no longer supported. Have you tried using the latest version instead?
@Sergey-Karpov I have tried version 2020.3.1 which also has the same issue of the python directory not existing at <IDEA>/plugins/python/. Is the documentation out of date or is this still the recommended way of using this egg? Do you know of a newer version that is guaranteed to be compatible? 2019.1 is my fallback license but I am able to use newer versions.
Sergey Karpov In fact 2020.3.1 says its too new of a version of IntelliJ to update the python plugin, which makes me think maybe the egg doesn't ship with IDEA anymore
2021.2 also does not ship with the egg and does not supply a version of pydevd-pycharm to download. Recommends: pip install pydevd-pycharm~=%{0}
I just checked and the <IntelliJ IDEA directory>/plugins/python/pydevd-pycharm.egg file is there.
How did you install IntelliJ IDEA?
Sergey Karpov On RHEL7
1. Download tarball https://www.jetbrains.com/idea/download/download-thanks.html?platform=linux
2. sudo tar -xzf ball.tar.gz -C /opt
3. Launch and update plugins
No such file or directory
Please check ~/.local/share/JetBrains/<product><version>
For example ~/.local/share/JetBrains/IntelliJIdea2021.2/python
Do you have the .egg file there?