PyCharm Remote Debugging Waiting for Connection

Hi,

I'm trying to remotely debug a script.

Deploying / Running the script works fine, as does setting things up manually (with Python Remote Debug) as described in the help section (https://www.jetbrains.com/help/pycharm/remote-debugging-with-product.html#remote-debug-config)

What does not work is debugging automatically (i.e. selecting the run config and hitting debug), the IDE hangs at "Waiting for connection"

Below is the debug output (PYCHARM_DEBUG=true)

-----

ssh://pi@raspberrypi_pems_1:22/home/pi/pems/app/.venv/bin/python -u /home/pi/.pycharm_helpers/pydev/pydevd.py --multiproc --qt-support=auto --client 0.0.0.0 --port 39619 --file /home/pi/pems/app/main.py --control_uri tcp://innb02289:4567 --data_uri tcp://innb02289:4568 --name dev_1 -l DEBUG
Unable to load jupyter_debug plugin
Executing file /home/pi/pems/app/main.py
arguments: ['/home/pi/pems/app/main.py', '--control_uri', 'tcp://innb02289:4567', '--data_uri', 'tcp://innb02289:4568', '--name', 'dev_1', '-l', 'DEBUG']
PYDEVD_FILTER_LIBRARIES False

Started in multiproc mode

('Connecting to ', '0.0.0.0', ':', '39619')
('Connected.',)

-----

Do you have any ideas what might be the issue here?

 

Regards,

Manuel

 

Please sign in to leave a comment.