Skip to content

A user friendly debugger that accepts any number of variables and print its name and value and line number for easy debugging. Also have options to choose add search text, include variable types information.

License

Notifications You must be signed in to change notification settings

Bibhash7/Here-Debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here-Debugger Downloads

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.

Pypi: https://pypi.org/project/here-debugger/

Download Summary:

here-debugger-os.png

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_debug
    a = 2
    b = "Bibhash"
    here_debug(a, b)
    

    Output: File: <current_file>: Line-4: a = 2 | b = Bibhash |

  2. Add search text:

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

    Output: Debug-: File: <current_file>: Line-4: a = 2 | b = Bibhash |

  3. Print variable type information:

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

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

  4. Update: Now supports constants:

    from here_debugger.debug import here_debug
    a = 2
    here_debug(a,"Bibhash", custom_search_text="Debug-")
    

    Output: Debug-: File: <current_file>: Line-4: a = 2 | Bibhash |

Test Case Coverage: 98%

here-debugger-coverage-report.png

About

A user friendly debugger that accepts any number of variables and print its name and value and line number for easy debugging. Also have options to choose add search text, include variable types information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages