简体   繁体   English

如何在Eclipse中调试web.py项目?

[英]How do I debug my web.py project in Eclipse?

I have my web.py project open in Eclipse, but how can I: 我在Eclipse中打开了我的web.py项目,但是如何:

1) Start my project from within Eclipse (and not the console)? 1)从Eclipse(而不是控制台)中启动我的项目? 2) Debug my project from within Eclipse (breakpoints, etc..)? 2)从Eclipse(断点等)中调试我的项目?

There's no readily-accessible information about this. 没有关于此的易于访问的信息。

It's actually very easily, and applies to most projects. 它实际上非常容易,并且适用于大多数项目。

1) Go to your "Debug Configurations" window (under "Debug As"). 1)转到“调试配置”窗口(在“调试为”下)。 2) Under "Python Run", add a new configuration. 2)在“ Python Run”下,添加一个新配置。 3) Enter the name of the project. 3)输入项目名称。 4) Under "Main Module", click on "Browse" and select the script that you've been starting from the command-line. 4)在“主模块”下,单击“浏览”,然后从命令行选择您一直在启动的脚本。 5) Save. 5)保存。

Dustin 达斯汀

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM