hands-on lab

Python: Introduction to Debugging

Difficulty: Intermediate
Duration: Up to 2 hours
Students: 93
Rating: 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.

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

Covered topics

Lab steps

Web IDE Review
Caveman Debugging
Logging
Introduction to PDB
Development Workflow
Post mortem
Summary