Skip to content

collective/Products.Ienablesettrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Fork of Products.enablesettrace which also allows import of ipdb in restricted code.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages