Skip to main content

pdb for setuptools console scripts

Project description

pdb for setuptools console scripts

Using

A console script installed by setuptools is a thin wrapper that loads the defined entry point and invokes it. pdbcs uses the console script name to load the entry point itself and invoke the debugger. The debugger automatically stops on the first line of the main function of the console script.

$ pdbcs /Users/dhellmann/Envs/pdbcs/bin/pdbcs
> /Users/dhellmann/Devel/pdbcs/pdbcs/pdbcs/main.py(11)main()
-> parser = argparse.ArgumentParser()
(Pdb)

Project details


Download files

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

Source Distribution

pdbcs-0.3.tar.gz (6.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page