Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 747f255

Browse files
raksivjyecusch
andauthored
Apply suggestions from code review
Co-authored-by: Jye Cusch <[email protected]>
1 parent 9b7aeb3 commit 747f255

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/guides/python/debugging.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ updated_at: 2025-03-27
1010

1111
# Debugging
1212

13-
This guide will walk you through setting up local debugging for Nitric applications written in Python.
13+
This guide will walk you through setting up local debugging for Nitric applications written in Python, using VSCode.
1414

1515
## Local Debugging with Python
1616

17-
Debugging serverless-style applications can be challenging due to the way functions are triggered by events. For Python, [`debugpy`](https://github.com/microsoft/debugpy) is used to connect a debugger to the service while it runs.
18-
19-
Nitric's local environment behaves as closely as possible to the target cloud environment. While local debugging can help uncover many issues early, unit testing and integration testing are still strongly recommended prior to deploying to production.
17+
Debugging serverless-style applications can be challenging due to the way functions are triggered by events. For Python, we can use [`debugpy`](https://github.com/microsoft/debugpy) to connect a debugger to the service while it runs.
2018

2119
### 1. Modify the Python entry point
2220

23-
Add the following lines to the top of the service file (e.g., `main.py`). This starts a debug server that the IDE can attach to.
21+
Add the following lines to the top of the service file (e.g., `services/api.py`). This starts a debug server that the IDE can attach to.
2422

2523
```python
2624
import debugpy

0 commit comments

Comments
 (0)