Remote Debugger not Working

Answered

Hi All,

Recently I have been having issues using Remote Debug in PyCharm. Remote run works fine, but the debug tool does not. Below is the error I see when trying to perform a remote debug.

ssh://[username]@[hostname]:22/usr/bin/python2.7 -u /home/[username]/.pycharm_helpers/pydev/pydevd.py --multiproc --qt-support --client '0.0.0.0' --port 58677 --file [path to project]

Process finished with exit code -1

Deployment is configured correctly, and updated code is pushed to the remote server when I start the remote run/remote debug tools, but debug always gives that error. Doesn't matter what port it starts on either, I've varied the port with no success.

6 comments
Comment actions Permalink

Hi! Could you please set environment variable PYCHARM_DEBUG=True and provide console output?

0
Comment actions Permalink

Hi Elizabeth,

I set the PYCHARM_DEBUG=TRUE environment variable within the Run/Debug configuration I am using. The output appears the same as above, but I have included it below.

ssh://[username]@[hostname]:22/usr/bin/python2.7 -u /home/[username]/.pycharm_helpers/pydev/pydevd.py --multiproc --qt-support --client '0.0.0.0' --port 57496 --file [path to project]

Process finished with exit code -1

0
Comment actions Permalink

I hit the same issue with IntelliJ IDEA 2016.3.4.  to resolve I needed to uninstall and re-install the Python plug-in.

0
Comment actions Permalink

I am having the same issues with PyCharm2017.1.4 and also had it with PyCharm2016.3. I uninstalled and reinstalled the .pycharm_helpers inside my Vagrant VM and that did not resolve the issue. Is that what you are referring to here? Or when you say the "Python plug-in" are you referring to something else?

0
Comment actions Permalink

Hi! Please, create an issue in our issue tracker: https://youtrack.jetbrains.com/issues/pycharm and attach the contents of your log folder (Help | Show log in filies)

0
Comment actions Permalink

Thanks for your reply. I already created a ticket in YouTrack about a week ago. It’s PY-25089. Here’s a link.

 
 
That ticket already contains the log file as well as a couple other details. Do you need more info?
 
-Allan
0

Please sign in to leave a comment.