hands-on lab

Python: Introduction to Debugging

Intermediate
2h
63
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Learn different ways to debug Python applications.

Debugging is a natural part of the development process. The ability to effectively debug a Python application is a valuable skill for Python developers.

This lab introduces three means of debugging in Python:

Learning Objectives

  • Caveman debugging
  • The Logging module
  • The Python debugger

Prerequisites:

  • Familiarity with the Python runtime
  • Familiarity with the Python language syntax
  • Familiarity with callables
  • Familiarity with classes

Target Audience

  • Python Developers

Updates

April 19th, 2023 - Updated theia to enable autosave

About the author
Students
109,568
Labs
37
Courses
50
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered topics
Lab steps
Web IDE Review
Caveman Debugging
Logging
Introduction to PDB
Development Workflow
Post mortem
Summary