Debugging djcelery's celeryd via pdb
I had the same problem. Try using Celery's remote debugger rdb
instead:
from celery import taskfrom celery.contrib import rdb@task()def add(x, y): result = x + y rdb.set_trace() # <- set break-point return result
See the user guide (link update 2017/5).