PyCharm Remote Debugging Waiting for Connection


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 (

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/ --multiproc --qt-support=auto --client --port 39619 --file /home/pi/pems/app/ --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/
arguments: ['/home/pi/pems/app/', '--control_uri', 'tcp://innb02289:4567', '--data_uri', 'tcp://innb02289:4568', '--name', 'dev_1', '-l', 'DEBUG']

Started in multiproc mode

('Connecting to ', '', ':', '39619')


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





Please sign in to leave a comment.