Skip to content

Commit eb4550c

Browse files
committed
add setup and execution instructions
1 parent 4ee9462 commit eb4550c

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

README.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Python Debugging Activity
22

3-
This repository is used in the Ada Python Debugging Activity as an exercise for students to practice using the debugger.
3+
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.
44

5-
## The Problem
5+
## Setup
6+
7+
To get set up first create a virtual environment.
8+
9+
`$ python3 -m venv venv`
10+
11+
Then activate the environment:
12+
13+
`$ source venv/bin/activate`
14+
15+
You can then install Pytest with:
16+
17+
`$ pip3 install pytest`
18+
19+
**Follow the Learn lessons for setting up VS Code for debugging**
20+
21+
## Running The Application
22+
23+
You can execute the application with:
24+
25+
`$ python3 app.py`
26+
27+
It will crash, this is part of the exercise. You can also run the tests with
28+
29+
`$ pytest`

0 commit comments

Comments
 (0)