
Master Python debugging in Visual Studio Code with hands-on techniques for breakpoints, conditional and exception breakpoints, log points, call stacks, and debugging tests, notebooks, and dockerized apps.
Adjust playback speed to 1.5x or 2x, and set video quality to 720p for reliable viewing. Rate the course thoughtfully, using 'ask me later' or rating at the end.
Learn to install Docker Desktop on Windows using WSL2 as the backend, enable virtualization, install Ubuntu via WSL, and test with docker run hello world.
Set up VS Code for Python debugging by installing the Microsoft Python extension, downloading the sample project, creating a virtual environment, installing dependencies, and running a test program.
If you're seeing ModuleNotFoundError while running the provided Python code, it's likely due to opening the wrong folder in VS Code.
In this short video, you'll learn:
The correct way to open the project in VS Code
Why opening a subfolder causes import issues
How to fix the problem by choosing the right workspace root folder
⚠️ Tip: Always open the folder that contains .vscode/settings.json — not the inner src or project folders.
This step is critical for the debugger to locate your modules correctly.
Learn to place breakpoints and run a Python program in debug mode with Visual Studio Code, then inspect variables and use continue and step controls.
Learn to control program execution while debugging in VS Code using breakpoints and actions like continue, step over, step into, and step out to inspect variables and function calls.
Inspect variables during a VS Code debugging session by using breakpoints, the variables pane, and hover tooltips to view primitive and complex data like arrays, dictionaries, and objects.
Learn how to use conditional breakpoints in Python debugging with VSCode to pause when a non-person object enters a loop, helping you locate type errors before printing attributes.
Manage breakpoints in VS Code for a Python project, including log points, conditional, and normal breakpoints; edit conditions, remove or disable breakpoints, and double-click to open and highlight the line.
Install the Jupyter extension in VSCode, set up ipykernel, and learn to run and debug Jupyter notebooks with kernels, breakpoints, and the debug toolbar.
Learn to run and debug Python unit tests in VS Code by configuring the test framework, discovering tests, and using run, debug, and test coverage features.
Learn to run and debug pytest tests in vscode, configure python tests with pi test, and resolve discovery issues, including setting up coverage.
Learn to run and debug a dockerized flask application from VS Code by setting up Docker, the Dockerfile, and docker-compose, enabling remote debugging with debugpy on port 5678.
Create a django app in vscode from scratch, install django in a virtual environment, build views and urls, run the dev server, and debug with vscode's launch.json and breakpoints.
Learn to build and run a dockerized django app in VSCode, set up debugging with debugpy, and attach remotely to a container to hit breakpoints in views.py.
Create a fast api web app in VS Code, set up a virtual environment and dependencies, and debug the app to test parameter handling in the browser.
Learn to run and debug a dockerized fast API application in VSCode by building a docker image, launching a container, and remotely attaching the Python debugger on port 5678.
Install and configure the AWS CLI and AWS SAM CLI on Windows, using the MSI installer, set credentials and region, and verify setup with AWS STS get-caller-identity and sam --version.
Create a serverless AWS Lambda project with AWS SAM in VS Code, then locally invoke and debug it using the AWS Toolkit and Python runtime.
Learn to deploy AWS Lambda via VS Code by syncing the SAM application with the AWS toolkit, configuring SAM config and S3 bucket defaults, and observing CloudFormation events during deployment.
Set up a Python Azure Functions project in VSCode by installing dotnet sdk 8, Node.js, and the Azure Functions tools extension, then create and debug a HTTP trigger locally.
Deploy an Azure function from VS Code after registering resource providers. Create a function app with runtime 3.11 in West US 2, test the function URL.
Learn to develop, run, and debug a Python GCP cloud function locally in VS Code using the Google Cloud Code extension, virtual environments, and a tailored functions framework launch configuration.
Deploy a GCP cloud function from VS Code using the cloud code extension, enabling Cloud Functions and Cloud Build APIs, configuring permissions, and ensuring public invocation via Cloud Run.
Follow a debugging checklist: verify requirements and input/output, read error messages carefully, and locate the exact line to identify the root cause. Use conditional breakpoints and testing to confirm fixes.
Trace a BMI calculation bug in a Python program by iterating over a patient array and calling a BMI function, uncovering why all results print identical values.
Debug a Python score calculator in Visual Studio Code, using score_underscore_words to award two points for even vowel counts and one for odd, then sum to a final score.
Identify and fix a scoring bug in a Python function that totals words by vowel parity, returning two for even and one for odd, verified in debug mode.
Debug a Python program in Visual Studio Code that filters a book list by author and rating, highlighting a logic error that returns a blank author result and needs fix.
Explore debugging two search methods—find by author and find by rating—through breakpoints and the debug console in VS Code, uncovering initialization and comparison fixes that produce two matching books.
Debug a Python fibonacci implementation in VS Code, using the recurrence f(n)=f(n-1)+f(n-2) with base cases for n≤2, and fix a type error: unsupported operand types for int and Non-type.
debug a dice game in vscode, count dice values, verify guesses, import dice game runner and its utils, and fix the logic causing incorrect round results.
Debug the dice game by summing each dice value and correcting round and win/loss calculations, and move the game runner initialization outside the loop to preserve state.
Explore the prime dates problem by concatenating day, month, and year to form a number, marking dates as lucky if divisible by 4 or 7, and debug zero results.
debugs a lucky date solution by parsing the input dates, applying leap year rules, and fixing logic to produce five lucky dates using breakpoints in vscode.
Fix the reviews column by converting it from object to float, handle million values with a conversion rule, and use Data Viewer with Data Wrangler to compute the mean.
Debug a zig zag sequence in Python by processing input counts and numbers, producing ascending to the middle and descending after, and fixing a list index out of range error.
Fix a Python zigzag sequence solver in Visual Studio Code by correcting the mid calculation and swap logic, ensuring the sequence ascends to the middle and then descends.
Disclaimer: This course requires you to download Docker Desktop from its official website. If you are a Udemy Business user, please check with your employer before downloading software.
Master Python Debugging in Visual Studio Code: Unittest, Pytest, Docker, Cloud Debugging & More
Are you struggling with debugging Python code efficiently? Do you want to master breakpoints, logpoints, cloud debugging, and Dockerized applications in Visual Studio Code (VS Code)?
This course is a complete guide to Python debugging in VS Code, covering everything from basic techniques to advanced debugging scenarios for Flask, FastAPI, AWS Lambda, Azure Functions, and GCP Cloud Functions.
What You Will Learn
Fundamentals of Debugging in VS Code – Learn how to set breakpoints, inspect variables, and control program execution.
Advanced Debugging Features – Step into, run to cursor, use conditional breakpoints, exception breakpoints, and logpoints.
Unit Testing & Test Debugging – Master unittest and pytest debugging techniques in VS Code.
Debugging Flask, FastAPI, and Django Applications – Learn how to debug web applications with VS Code’s Python Debugger.
Dockerized Debugging – Learn how to debug Dockerized Python applications in VS Code.
Cloud Debugging – Master debugging Python applications deployed on AWS Lambda, Azure Functions, and GCP Cloud Functions.
Real-World Hands-On Debugging Scenarios – Solve debugging challenges related to multithreading, API debugging, and Flask CRUD applications.
Why Take This Course?
Covers both local and cloud debugging (AWS, Azure, GCP).
Teaches hands-on debugging techniques with real-world problems.
Includes step-by-step tutorials on debugging Flask, FastAPI, and Django applications.
Guides you through unit testing debugging using unittest and pytest.
Walks you through Dockerized debugging for containerized applications.