print('I am here!!!!')
https://fstring.help/
In [1]: fruit = 'banana'
...: f'{fruit=}'
Out[1]: "fruit='banana'"import pdb; pdb.set_trace()breakpoint()Python 3.7
Commands:
q (quit)
n (next)
p (print)
c (continue)
s (step into)
a (arguments)
import ipdb; ipdb.set_trace()pip install ipdbIt uses IPython
Rich is a Python library for rich text and beautiful formatting in the terminal.
The Rich API makes it easy to add color and style to terminal output. Rich can also render pretty tables, progress bars, markdown, syntax highlighted source code, tracebacks, and more — out of the box.
import pdbr; pdbr.set_trace()pip install pdbrexport PYTHONBREAKPOINT="pdbr.set_trace"breakpoint()