Metadata-Version: 1.2
Name: printbreakpoint
Version: 0.9.7
Summary: Use breakpoint() to print out filename, line number, and data.
Home-page: https://github.com/duane9/printbreakpoint
Author: Duane Hilton
Author-email: duane9@gmail.com
Maintainer: Duane Hilton
License: MIT
Description: **PrintBreakpoint**
        
        Use ``breakpoint()`` to print out filename, line number, and data. For Python 3.7+
        
        Install ``printbreakpoint`` with pip.
        
        ::
        
            pip install printbreakpoint
        
        Update the ``PYTHONBREAKPOINT`` environment variable (available starting in Python
        3.7).
        
        ::
        
            export PYTHONBREAKPOINT=printbreakpoint.pb
        
        Now when you add ``breakpoint()`` to your code, it will show the output from
        ``printbreakpoint``.
        
        .. code:: python
        
            def some_function(a):
                breakpoint()
                return a
        
        Prints
        
        ::
        
            pb | some_file.py:3 in some_function
        
        Any data you pass to the ``breakpoint()`` will be added to the output.
        
        Change the environment variable back to the default when you're ready to
        continue using ``pdb``.
        
        ::
        
            export PYTHONBREAKPOINT=
        
        You can also use ``printbreakpoint`` directly.
        
        ::
        
            import printbreakpoint; printbreakpoint.pb()
        
        
Keywords: print breakpoint debugging pdb
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.7
