Skip to content

Commit 51bbd8b

Browse files
authored
Update vs_code_django_unit_test_debugging_notes.md
1 parent 8a20e4f commit 51bbd8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sphinx/misc/vs_code_django_unit_test_debugging_notes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Add the worker debugger config to the .vscode/launch.json file
157157
}
158158
```
159159

160-
Edit the command in the celery worker container config in the docker-compose.yml file
160+
Edit the celery worker container config in the docker-compose.yml file
161161
```yaml
162162
specify7-worker:
163163
build:
@@ -172,6 +172,8 @@ Edit the command in the celery worker container config in the docker-compose.yml
172172
extra_hosts:
173173
- "host.docker.internal:host-gateway"
174174
env_file: .env
175+
ports:
176+
- "3001:3001" # for debugging celery worker
175177
```
176178
177179
Run `docker compose up --build`

0 commit comments

Comments
 (0)