preface

I have been working for almost two years, developing many asynchronous tasks. I believe there should be many friends who have the same problem as me. I develop celery on PyCharm and can only rely on print to print information instead of debugging. Actually, if you further study Pycharm, celery can also be debutted.

1. Edit Configurations

Under the menu bar Run at the top of PyCharm, pull down the menu bar and click Edit Configurations

2. Add a new Configuration

3. Edit Script path and Parameters

Configure celery address and celery execution parameters

4. execute

Pycharm run celery after configuring relevant parameters

conclusion

In fact, PyCharm is very powerful, and there are many functions that need further study. I will talk about how to debug multi-thread and multi-process on PyCharm in the future. I hope I can give you some help. thank you