Introduction
To make a long story short: sometimes you need to break into the debugger in the middle of a Script (Python). To prevent the frustrating Unauthorized: import of 'pdb' is unauthorized message, use this enablesettrace package.
This package supports importing the pdb and ipdb module. It is a fork of the Products.enablesettrace package.
Installation
The installation is as simple as making sure the package is located on the Python path. For example when you are using zc.buildout list Products.Ienablesettrace in the eggs section:
[buildout]
...
eggs =
...
Products.Ienablesettrace
Credits
This code was originally contributed by Zach Bir and committed by Jim Fulton. Mark van Lent eggified the product.
Changelog
1.1.0 (2021-01-20)
Note: this project is inactive.
Code cleanup: black, pyflakes, flake8, pyroma.
Moved to Plone collective: https://github.com/collective/Products.Ienablesettrace
1.0 (2010-05-30)
Forked Products.enablesettrace version 0.2 and changed name to Products.Ienablesettrace since the former will have the added inclusion of ipdb removed in the next release. [markvl]
0.2 (2010-04-02)
Also allow import of ipdb. [markvl]
0.1 (2010-04-02)
Initial release: eggified version of Products.enablesettrace as stored in the Zope Subversion Repository.
Release files for Products.Ienablesettrace 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Products.Ienablesettrace-1.1.0.tar.gz | 3.7 kB | Details |
Release files / Products.Ienablesettrace-1.1.0.tar.gz
| Download URL | Products.Ienablesettrace-1.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b553ea1a4332956b8d3dc635ba91beb3f2da78cfe74eed167e268be6edfc86f
|
|
BLAKE2b-256 checksum How to use checksums |
961ae864245da3cb81cb6dd80ee9fa25db3c6b87de87608e880bc39fce385dc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/42.0.2 requests-toolbelt/0.8.0 tqdm/4.19.6 CPython/2.7.17
|