debugpy and pdb
pdb is the built-in debugger; debugpy implements the protocol VS Code uses for remote debugging.
Easy
breakpoint() drops into pdb. With debugpy you can attach VS Code to a script running on a Raspberry Pi.
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.