Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Enable remote debugging with winpdb in Zope / Plone

Project Description


z3c.winpdb is a trivial package that calls rpbd2.start_embedded_debugger when IDatabaseOpenedWithRootEvent is fired during the startup of the Zope / Plone instance thus making it possible to debug the running instance with winpdb.

Two environment variables are evaluated:

RPDB2_ENABLE must be set to “true” for start_embedded_debugger to be called. You most probably don’t want this in a production environment. Default is “false”.

In RPDB2_PASSWD you can set the password needed to attach winpdb to the embedded debugger. Default is “passwd”.


You can’t use z3c.winpdb and use python profiling concurrently, as this causes an infinite recursion in rpdb2’s CDebuggerCoreThread.profile_recursion method. So if you use z3c.winpdb make sure to remove any publisher-profile-file directive from zope.conf file.



  • Bugfix: configure.zcml was missing
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
z3c.winpdb-0.1.4.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Jul 1, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting