python: Python debugger
The following oneliner will drop in a breakpoint:
import pdb; pdb.set_trace() # noqa: E702
The comment excludes the line from lint rules that don't like multiple statements on oneline.
Published on: 11 Jul 2022
The following oneliner will drop in a breakpoint:
import pdb; pdb.set_trace() # noqa: E702
The comment excludes the line from lint rules that don't like multiple statements on oneline.