pycharm远程调试无法检索变量 [英] pycharm remote debugging unable to retrieve variables

查看:411
本文介绍了pycharm远程调试无法检索变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始开发openstack.

I just getting started to develop openstack.

在部署devstack的服务器上调试程序时,我在Pycharm的官方站点上配置了远程调试选项,使文档流动.

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.

问题出现了.

框架还是调用堆栈?正常显示,但无法显示变量,并显示消息"无法显示框架变量"

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

我所做的如下:

  • 使用sshfs将远程系统安装到本地
  • 设置pycharm远程调试选项
  • 将pydevd添加到我的代码中,并且连接正常.

我什至尝试在服务器上同时添加/usr/bin和virtualenv作为远程解释器,调试时仍然无法显示变量.

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

推荐答案

我遇到了与您几乎相同的问题.检查您的PyCharm的配置.

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

有关解决方案,请参见此处: https://stackoverflow.com/a/39742235/4151472

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

希望对您有帮助.

这篇关于pycharm远程调试无法检索变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆