Debug Pylons application through Eclipse

后端 未结 7 1928
[愿得一人]
[愿得一人] 2020-12-24 09:22

I have Eclipse setup with PyDev and love being able to debug my scripts/apps. I\'ve just started playing around with Pylons and was wondering if there is a way to start up

相关标签:
7条回答
  • 2020-12-24 10:08

    This doesn't really answer question about how to do it in eclipse. But I've been debugging paster server with winpdb, which is quite nice graphical python debugger (you can install it with easy_install winpdb).

    Just start your server e.g.:

    winpdb /usr/local/bin/paster serve development.ini
    

    And click run button.

    As wayne said, it's necessary to not use --reload option. At least I wasn't able to find how to attach to actual webapp even, when selecting to which forked process debugger should enter (entering different processes can be controlled with "fork parent" and "fork child" debugger commands).

    0 讨论(0)
提交回复
热议问题