Introduction
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”.
Note
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.
Changelog
0.1.4
Bugfix: configure.zcml was missing
Metadata
Release files for z3c.winpdb 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| z3c.winpdb-0.1.4.tar.gz | 2.3 kB | Details |
Release files / z3c.winpdb-0.1.4.tar.gz
| Download URL | z3c.winpdb-0.1.4.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85af418dc163ce6e946b6b90f319b3b2dcc323eaaa2c515670e0eb99cdd78caf
|
|
BLAKE2b-256 checksum How to use checksums |
c41e8cc19487924f47e9de111986d629b3ba81a2b482503ffa7c73445c9a40a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |