pdb
The interactive debugger: breakpoints, stepping and inspecting variables.
Easy
Put breakpoint() in your code. Commands: n next, s step in, c continue, p x print, l list, q quit.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.