You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update debugging support for Django and Celery (#1048)
* feat: add debugpy debugging support for Django and Celery
Use docker-compose override file pattern for enabling remote debugging
with debugpy in VS Code. Supports debugging the main Django app and
Celery workers independently or simultaneously.
Changes:
- Update docker-compose.yml to use /start-celeryworker script
- Add docker-compose.override.yml.example to enable debuggers
- Update start scripts to look for DEBUGGER environment variable
- Add debugger config for main Django app in addition to Celery workers
* chore: add pipefail option to celery worker start as well
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: ensure celeryworker doesn't reuse django ports
* feat: allow auto reload for celery worker even with debugger
* chore: comments & cleanup
* chore: rename example file so that linting works
* feat: allow debugger to work properly with Django
* chore: remove redundant launch config
* chore: don't auto reload celery worker
* chore: make script volume mount options consistent
0 commit comments