Menu

pdb – How to use Python debugger

pdb, short for python debugger is a standard built-in module used to debug python code interactively. You can set breakpoints, see variable values, step inside routines, test run code, etc once you enter the pdb. This tutorial demonstrates the best practices of using the python debugger and the new breapoint() feature.

Written by Selva Prabhakaran | 1 min read

Free Course
Master Core Python — Your First Step into AI/ML

Build a strong Python foundation with hands-on exercises designed for aspiring Data Scientists and AI/ML Engineers.

Start Free Course
Trusted by 50,000+ learners
Related Course
Master Python — Hands-On
Join 5,000+ students at edu.machinelearningplus.com
Explore Course
Wait — don't leave
without your free
AI/ML Roadmap

The step-by-step path used by 25,000+ learners to go from zero to career-ready in AI/ML.

Please fill in your name and a valid email.
🔒 100% Free ☕ No spam, ever ✓ Instant delivery

Roadmap sent to your inbox!

Can't find it? Check your spam or promotions tab.

Not sure where to start?

Book a free 15-min call — our team will map out the right path for your background. Zero sales pressure.

📞

Request a free callback

Team available · 15 min · No commitment

🇮🇳 +91
🇮🇳 India +91
🇺🇸 USA +1
🇬🇧 UK +44
🇦🇺 AUS +61
🇦🇪 UAE +971
🇸🇬 SG +65
🇲🇾 MY +60
🇵🇰 PK +92
🇧🇩 BD +880
🇳🇵 NP +977
🇱🇰 LK +94
🇫🇷 FR +33
🇩🇪 DE +49
🇮🇹 IT +39
🇪🇸 ES +34
🇳🇱 NL +31
🇸🇪 SE +46
🇨🇭 CH +41
🇵🇱 PL +48
🇹🇷 TR +90
🇸🇦 SA +966
🇶🇦 QA +974
🇰🇼 KW +965
🇴🇲 OM +968
🇧🇭 BH +973
🇪🇬 EG +20
🇿🇦 ZA +27
🇳🇬 NG +234
🇰🇪 KE +254
🇬🇭 GH +233
🇨🇳 CN +86
🇯🇵 JP +81
🇰🇷 KR +82
🇮🇩 ID +62
🇵🇭 PH +63
🇧🇷 BR +55
🇲🇽 MX +52
🇦🇷 AR +54
🇨🇦 CA +1
🇳🇿 NZ +64
🇮🇪 IE +353
Please enter your phone number.

Thank you for your submission!

Our team will call you shortly. You'll also receive a confirmation on your email.

Scroll to Top
Scroll to Top
Course Preview

Machine Learning A-Z™: Hands-On Python & R In Data Science

Free Sample Videos:

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science

Machine Learning A-Z™: Hands-On Python & R In Data Science