It seems that the Distributed Debugger does not allow to have more than one active debug session?
For example, if I am debugging the main script and then would like to attach to one of the worker processes, the attach button is grayed out:
Hi there! Yes, it seems like for the most part, the Distributed Debugger doesn’t support more than 1 active debug session at a time.
Here are the docs: Ray Distributed Debugger — Ray 2.44.1
After you’re done debugging this particular breakpoint, click the Disconnect button in the debugging toolbar so you can join another task in the Paused Tasks list
You’ll have to pause your main script and then attach one of the workers if you would like to debug from the worker.
Yes, that’s what it looks like, but why?
VSCode Python debugger is perfectly capable if running multiple debug sessions. And I can’t see an obvious reason why DD couldn’t allow launching more than one. Especially, considering that in my scenario, the existing session is not even DD-related.