pycharm remote debugging unable to retrieve variables

时光总嘲笑我的痴心妄想 提交于 2019-12-11 13:25:27

问题


I just getting started to develop openstack.

when it comes to debuging program on my server where devstack is deployed, I congured remote debug options flowing docs on Pycharm's offcial site.

problem raised.

The Frames or call stack? display normally, but variables can't not be displayed and show message "Unable to display frame variables"

what i did just as below:

  • mount remote system to local using sshfs
  • setup pycharm remote debug options
  • add pydevd to my code and connection had been made normally.

I even tried add both /usr/bin and virtualenv on server as remote interpreter, variables when debugging still can't be displayed.


回答1:


I had pretty much the same problem like you. Check the configurations of your PyCharm.

See here for the solution: https://stackoverflow.com/a/39742235/4151472

I hope it helps.



来源:https://stackoverflow.com/questions/39239981/pycharm-remote-debugging-unable-to-retrieve-variables

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