Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
29 lines (15 loc) · 628 Bytes

File metadata and controls

29 lines (15 loc) · 628 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

Python Debugging Activity

This repository is used in the Ada Python Debugging Activity as an exercise for Ada students to practice using the Python debugger in VS Code.

Setup

To get set up first create a virtual environment.

$ python3 -m venv venv

Then activate the environment:

$ source venv/bin/activate

You can then install Pytest with:

$ pip3 install pytest

Follow the Learn lessons for setting up VS Code for debugging

Running The Application

You can execute the application with:

$ python3 app.py

It will crash, this is part of the exercise. You can also run the tests with

$ pytest

Morty Proxy This is a proxified and sanitized view of the page, visit original site.