Skip to main content

A simple package to add code highlighting to the python debugger (PDB).

Project description

PDB Color

Add some color to the python debugger.

Installation and Setup

Can be installed with pip.

pip install pdbcolor

Once installed, set the environment variable PYTHONBREAKPOINT to pdbcolor.set_trace. This can be done with the export command with a POSIX compliant shell.

export PYTHONBREAKPOINT=pdbcolor.set_trace

pdbcolor can be used temporarily by adding the PYTHONBREAKPOINT=pdbcolor.set_trace prefix before running a python script. For example:

PYTHONBREAKPOINT=pdbcolor.set_trace python3 main.py

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

pdbcolor-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdbcolor-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pdbcolor-0.1.0.tar.gz.

File metadata

  • Download URL: pdbcolor-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0rc1

File hashes

Hashes for pdbcolor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c59dc1a977db2c2c37f8026f752c6b4ae2cfd662dad77f8c112a0d071970067d
MD5 bb1dcc276c6ac59f6203693a13636b54
BLAKE2b-256 15cbe9e3c89f41af2fd16b38168afd16799d882e9d0b9d1538af2d152648bac4

See more details on using hashes here.

File details

Details for the file pdbcolor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pdbcolor-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0rc1

File hashes

Hashes for pdbcolor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2b61c1b3d18b89c79c9bb1567537a81a22797dfb908744fb2cacc26796ac661
MD5 3078702aaf22406b5f16b23d97b9f2ca
BLAKE2b-256 2d49bdee6b43f04bbd8b87eeb6a3118386f427f2989701842d868cfc4f83a511

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page