Ray debugger extension not attaching to paused task

1. Severity of the issue: (select one)
None: I’m just curious or want clarification.
Low: Annoying but doesn’t hinder my work.
Medium: Significantly affects my productivity but can find a workaround.
High: Completely blocks me.

2. Environment:

  • Ray version: 2.44.0
  • Python version: 3.11.9
  • OS: Rocky Linux 9.5
  • Cloud/Infrastructure:
  • Other libs/tools (if relevant): anyscalecompute.ray-distributed-debugger v0.1.4 (VS code extension)
  • VS Code version 1.99.3 (also tried with 1.97.2 with same results)

3. Repro steps / sample code: (optional, but helps a lot!)
I have installed Ray’s VS Code Distributed Debugger extension (v0.1.4) and am following Ray’s instructions for the basic example here. Everything runs fine up until the step where the debugger is supposed to attach to the paused task. I can see the console print that it is waiting for the debugger to attach, but this is never triggered in VS Code.

4. What happened vs. what you expected:

  • Expected: See the option in the extension window to attach to the paused task
  • Actual: The console indicates that Ray is waiting for the debugger to attach, but this never happens.

Hi there! It looks like this might be a known bug with the Ray 2.44 version debugger. Can you follow the steps mentioned here and downgrade your Ray version and see if that fixes it?

Will do! Thanks for the reply