Nowadays, we often take for granted the excellent debuggers built into our favorite IDEs. But how do you debug your Python code when you don’t have the luxury of using an IDE?
pdb
, short for Python DeBugger, is a module for interactive source code debugging. It’s built into the Python Standard Library, so it’s always accessible to you. Because it runs in the command line, it’s especially helpful when you’re developing on remote systems.
In this course, you’ll learn how to perform the most common debugging tasks using pdb
, including setting breakpoints, stepping through code, viewing stack traces, creating watch lists, and more.
Free Bonus: Click here to get a printable "pdb Command Reference" (PDF) that you can keep on your desk and refer to while debugging.
What’s Included:
- 11 Lessons
- Video Subtitles and Full Transcripts
- Accompanying Text-Based Tutorial
- Q&A With Python Experts: Ask a Question
- Certificate of Completion
Related Learning Paths:
stephenm on Feb. 28, 2021
Excellent tutorial! Easy to follow, clearly explained. Thank you!