How do I enable remote celery debugging in PyCharm?

前端 未结 8 1086
-上瘾入骨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:40

    I'm using PyCharm 2017 and had to do something very similar to the answers above, but I specifically had to put the full/absolute path name to celery in the "Script" field

    Also, I'm not sure if PyCharm 4 has this feature, but newer versions allow you to attach directly to a running python process by going to Run > Attach to Local Process...

    This allows you to run celery however you were before (in the terminal, perhaps) then allow Pycharm to take over

提交回复
热议问题