Remote python debugging waits on connecting to debug server.

Answered

Hi,

I'am on actually on Idea version 2017.1. But this question is concerning PyCharm, I would say.

I have python plugin installed, because I use it to develop python backend.

My RUN configuration with manage.py debug on vagrant works just fine. Though if I use same configuration, but only run it with DEBUG, debug server is running, but Idea's debug window shows it is waiting to connection and shows no more information.

Console output for DEBUG:
ssh://vagrant@app.dev:22/usr/bin/python3 -u /home/vagrant/.pycharm_helpers/pydev/pydevd.py --multiproc --qt-support --client '0.0.0.0' --port 38421 --file /home/vagrant/app/api/manage.py debug
pydev debugger: process 4032 is connecting

^-- console stays like that and connection never happens, even when I left it for a long time (20-30 minutes).

I have fresh instalation of Idea and freshly uploaded /home/vagrant/.pycharm_helpers.

 

I have no clue where could be problem. Any ideas?

 

0
1 comment

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

0

Please sign in to leave a comment.