如何使用(Python Tools for)Visual Studio调试远程python应用程序? [英] How to debug a remote python application with (Python Tools for) Visual Studio?

查看:143
本文介绍了如何使用(Python Tools for)Visual Studio调试远程python应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 http://pytools.codeplex.com/ ,PTVS支持本地和远程调试 。但是,我找不到与之相关的任何东西。

According to http://pytools.codeplex.com/, PTVS supports "Local and remote debugging". However, I couldn't find anything related to it or.

所以我很好奇,如果他们的远程调试只是附加在同一台机器上运行的进程或者如果有一些实际的远程调试支持通过TCP / IP可用。我想使用PTVS在另一台(linux)机器上运行在apache上的基于WSGI的Web应用程序,但没有适当的远程调试器(例如WinPDB,这不是很糟糕,但是集成在IDE中的sonmething会更好)这不是真的有用...

So I'm curious if their "remote debugging" is simply attaching to a running process on the same machine or if there's some actual remote debugging support over TCP/IP available. I'd like to use PTVS for a WSGI-based web applications running on apache on another (linux) machine, but without a proper remote debugger (such as WinPDB, which is not that bad but sonmething integrated in the IDE would be better) it's not really useful...

推荐答案

远程调试除Windows以外的平台不可用,直到2.0 alpha版本,但它是现在可以看到文档视频教程,以了解详情。

Remote debugging for platforms other than Windows was not available until 2.0 alpha release, but it is possible now - see the documentation or the video tutorial for details.

这篇关于如何使用(Python Tools for)Visual Studio调试远程python应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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