我正在尝试使用远程调试但在pycharm上出现此错误:
运行remoteTest时出错: 找不到免费套接字
我的远程主机是Ubuntu |(用户名和密码),我的localhost是windows,我按照以下教程: https://blog.jetbrains.com/pycharm/2010/12/python-remote-debug-with-pycharm/ 我在putty上使用ssh隧道连接到服务器。
import pydevd
pydevd.settrace('localhost', port=21000, stdoutToServer=True, stderrToServer=True)