Runtime utilitiesPython Tooling
python -m pdb
Start the built-in debugger for interactive tracing.
Command
python -m pdb .py
Example usage
Step through code, set breakpoints, and inspect variables.
python -m pdb <script>.py
Related tags
Runtime utilitiespythonvenvpip