1) Add to
# allows pydevd.set_trace() inside Script (Python) objects
from AccessControl import ModuleSecurityInfo
ModuleSecurityInfo('pydevd').declarePublic('settrace')
2) Install this Zope product:
http://www.zope.org/Members/regebro/ScriptDebugging
3) Take a look at the following post:
http://freeplone2.openia.com/frpiano/how-to/how-to-setup-remote-debug-on-zope-with-pydev/, which may also work as a good reference (and don't forget to start the zope and the pydev daemon from eclipse).
No comments:
Post a Comment