pycharm remote debugging: failed to find free socket

十年热恋 提交于 2019-12-07 07:51:39

问题


I'm trying to use remote debugging but get this error on pycharm:

Error running remoteTest: failed to find free socket

My remote host is Ubuntu |(with username and password) and my localhost is windows, I followed the following tutorial: https://blog.jetbrains.com/pycharm/2010/12/python-remote-debug-with-pycharm/ and I used a ssh tunnel on putty to connect to the server.

import pydevd
pydevd.settrace('localhost', port=21000, stdoutToServer=True, stderrToServer=True)

来源:https://stackoverflow.com/questions/42678246/pycharm-remote-debugging-failed-to-find-free-socket

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!