It is not covered in their docs
But the community suggested few methods (there is one like you proposed, and another, so maybe check the other one?)
How do I correctly run phpstorm from wsl in the console?
If I execute the command /mnt/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe . that opens sublime text and I can work in it.
But if I run the command with phpstorm /mnt/c/Program\ Files/JetBrains/PhpStorm\ 2021.3.1/bin/phpstorm64.exe . then this command will open the project only when I run phpstorm on windows. If phpstorm is not running, the command will not open the project, unlike sublime text.
How to correctly launch a project in phpstorm through the console in wsl, regardless of whether the program is running or not?
It is not covered in their docs
But the community suggested few methods (there is one like you proposed, and another, so maybe check the other one?)
Please or to participate in this conversation.