How do I enable remote celery debugging in PyCharm?

前端 未结 8 1059
-上瘾入骨i
-上瘾入骨i 2020-12-23 21:11

I\'m trying to find some instructions on how to enable PyCharm debugging within my celery processes on a remote machine. The remote machine is running Ubuntu 14.04.

8条回答
  •  遥遥无期
    2020-12-23 21:27

    My working configuration:

    • Script: /home/app/env/bin/celery
    • Script parameters: worker -B -n qrc -Q qrc -l info --app=backend.celery

      • Where -B is for celerybeet, -n is node name, -Q is queue name, -l is log level, and --app is the app name, a django app with celery.py next to settings.py in my case.
    • Working directory: /home/app/server/ ie my django root folder

提交回复
热议问题