Replies: 1 comment 2 replies
-
I use WSL with VS Code, which has a Remote WSL extension that allows you to connect into the Linux/WSL filesystem. Perhaps there is something similar for PHP Storm? This post looks like it might help: https://www.jetbrains.com/help/phpstorm/configuring-remote-interpreters.html#switch-between-configured-php-interpreters-on-the-fly |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After reading and searching for the past 3-4 days I understand that due to the slower "communication" between the windows mounted folder to the WSL2 (where the code will be actually executed), languages that aren't compiled or maybe if your application depends on a large number of files, you are probably having a bad time with execution times.
I have tried multiple ways to improve this, but all have failed so far. Does anyone ever came to a proper solution to this issue?
Here is my example and options that I have tried:
docker-compose.yml
Obviously if I chose to not mount on windows and let the application only exist inside the container it will be super fast, but that closes the door for me to use PHP Storm, which is my IDE of choice.
I explored this and this option as well. The idea was to store the application in the WSL2 file system and access it on windows, but I had no success.
Is it possible to do something like this? Have the application stored in the "container" and access it on windows through explorer (without using wsl$//, which doesnt work well with php storm)?
Beta Was this translation helpful? Give feedback.
All reactions