How do I set RAY_LOCAL_PATH in Laravel .env? [closed]

Using WSL, I struggle configuring ray in a way that allows links in the Ray app to open in VSCode.

From ray the documentation

'local_path' => $path_to_code_to_wsl2_in_windows,       
// usually something like \\wsl$\Ubuntu\home\spatie\code\my-project      
<- don't forget to escape the  if using double-quotes like in the example

So this is the configuration in the .env file:

    RAY_LOCAL_PATH=\\wsl$\Ubuntu\home\spatie\code\my-project

I always get

i Visual Studio Code  
Path does not exist  
The path 'wsl$Ubuntuhomespatiecodemy-projectmyfile...' 
does not exist on this computer. 

The leading slashes are missing.