Skip to main content

A user friendly debugger

Project description

Here-Debugger

This user-friendly debugger simplifies the debugging process by accepting any number of variables and printing their names, values, and line numbers. It also offers options to add search text and include variable type information for enhanced clarity.

Features:

  • Prints variable names and values
  • Displays line number of the variables
  • Option to add search text
  • Option to include variable type information

Installation

To install the debugger, use: pip install here-debugger

Usage

  1. Print variable names and values.

    from here_debugger.debug import here_debugger
    a = 2
    b = "Bibhash"
    here_debugger(a, b)
    

    Output: Line-4: a = 2 | b = Bibhash |

  2. Add search text:

    from here_debugger.debug import here_debugger
    a = 2
    b = "Bibhash"
    here_debugger(a,b, custom_arguments="Debug-")
    

    Output: Debug-:Line-4: a = 2 | b = Bibhash |

  3. Print variable type information:

    from here_debugger.debug import here_debugger
    a = 2
    b = "Bibhash"
    c = [2,2]
    d = {}
    here_debugger(a,b,c,d, custom_arguments="Debug-", include_types=True)
    

    Output: Debug-:Line-6: a = 2, type=<class 'int'> | b = Bibhash, type=<class 'str'> | c = [2, 2], type=<class 'list'> | d = {}, type=<class 'dict'> |

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

here_debugger-0.0.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

here_debugger-0.0.5-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file here_debugger-0.0.5.tar.gz.

File metadata

  • Download URL: here_debugger-0.0.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for here_debugger-0.0.5.tar.gz
Algorithm Hash digest
SHA256 a72e1c56977e08a14c2fec97a1243fbaa94df14b4740b7a3cdf04c0f04a84743
MD5 d38fb1d97c7f15d96798bb76cd9d08e4
BLAKE2b-256 6e6170cfe7360a4fd621f55426c01ec4bdb8fadf53455c0651257d8087e87b2e

See more details on using hashes here.

File details

Details for the file here_debugger-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for here_debugger-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8a94685ab831610845ca168aceffbf7e3b9ae71f37121806f743575d3336b546
MD5 2374a9c53c7e42d6f7e3de6b4ca3f53f
BLAKE2b-256 1cc223acccf9021985c34e33fb2f92a10fbf578c84c147db202b38a858d18565

See more details on using hashes here.

Supported by

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