Closed aleixrodriala closed 1 month ago
maybe not with the workers settings, but you could use print statements
For debugging, I wouldn't use the workers setting
For debugging, I wouldn't use the workers setting
In my case I have a task that goes through multiple stages and from one queue to another, how would you debug this then for example?
Thanks
saq uses asyncio and one worker should support multiple concurrent tasks. So simply removing that setting should work, unless you’ve got some more complex setup I’m not aware of?
When trying to run ipdb; ipdb.set_trace() in a task I get the following:
Context:
saq app.tasks.settings --workers 8
Is there any way to debug tasks while running the saq queue?
Thanks