ray-project / ray

Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
https://ray.io
Apache License 2.0
33.3k stars 5.63k forks source link

Windows debugging on gdb does not work #9827

Open juliusfrost opened 4 years ago

juliusfrost commented 4 years ago

What is the problem?

https://docs.ray.io/en/master/debugging.html?highlight=debugging#debugging The tutorial on debugging in ray says you can set the environment variables RAY_RAYLET_GDB=1 RAY_RAYLET_TMUX=1 to make ray work with gdb. However, you cannot debug on Windows because it is assumed tmux is installed, which is not available.

Reproduction (REQUIRED)

Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):

If we cannot run your script, we cannot fix your issue.

Related: #9114

richardliaw commented 4 years ago

cc @mehrdadn ?

mehrdadn commented 4 years ago

We definitely haven't yet added GDB or tmux support for Ray on Windows, but would installing tmux possibly help with this? I haven't tried this, but MSYS2 should have tmux available.