File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Python Debugging Activity
2
2
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 .
4
4
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 `
You can’t perform that action at this time.
0 commit comments