rlo*_*tun 10
由于您正在尝试调试扭曲的应用程序,因此您有以下几种选择:
如果您通过twistd运行,则可以使用-b命令行选项:
-b, --debug run the application in the Python Debugger (implies
nodaemon), sending SIGUSR2 will drop into debugger
Run Code Online (Sandbox Code Playgroud)您可以在扭曲的过程中运行沙井 - 这允许您远程登录到服务器并检查Python对象 - http://twistedmatrix.com/documents/current/core/howto/telnet.html
您可以选择手动运行pdb - 请参阅:http://docs.python.org/library/pdb.html
| 归档时间: |
|
| 查看次数: |
6027 次 |
| 最近记录: |