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

Commit eb4550c

Browse filesBrowse files
committed
add setup and execution instructions
1 parent 4ee9462 commit eb4550c
Copy full SHA for eb4550c

File tree

Expand file treeCollapse file tree

1 file changed

+26
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+26
-2
lines changed
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboard
+26-2Lines changed: 26 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.