I defined a Emacs Lisp function and assign it to the keyboard. I am using gatsby on Windows Subsystem for Linux - Ubuntu 20.04.3 I have tried anything i could find on the internet about it but nothing helps. I have searched for a solution many hours but it seems like this error isn't very common, can't find much about it. The error occuried after doing 'npm install'.
![phpstorm wsl2 phpstorm wsl2](https://user-images.githubusercontent.com/10183990/133979839-29ff15f2-e1bf-48ea-af2a-4eb9014d57b7.jpg)
After i got the error someone else tried it to on the branch im working on and get the same error.
![phpstorm wsl2 phpstorm wsl2](https://imgs.developpaper.com/imgs/1236731069-94dc71bd97b6f7a8_fix732.png)
I work with multiple people on different branches of git.
#Phpstorm wsl2 how to
Any ideas on how to make this work? /* php for the page itself */įoreach($usersemail as $userdata)], Now it adds the value regardless and has a second value for whether it has been completed or not. It worked up until now because the plugin that creates the data would only add the value for the lesson if it was completed. It checks an array for each user under _usermeta.
#Phpstorm wsl2 code
We have been using the below code to create a progress report for users. ).Ĭhanging the port to something other than 9000 (portscans also reveal that none of them are in use).Īdding a firewall rule to allow incoming requests as described in (as well as restarting a couple times after adding the rule) New-NetFirewallRule -DisplayName "WSL" -Direction Inbound -InterfaceAlias "vEthernet (WSL)" -Action AllowĪdding options like xdebug.remote_enable=1 to the config, but this is being done by PhpStorm anyways when it runs the remote php instance ( remote_connect_back also did not do the trick): :php -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9006 -dxdebug.remote_host=172.18.48.1 /home/spaceemotion/code/xxxxxx/backend/vendor/phpunit/phpunit/phpunit This is for CLI only, I'm not trying to connect via php-fpm (so no Apache, nginx. E: Time-out connecting to client (Waited: 200 ms). This is what the Xdebug log shows: Log opened at 17:20:45 Whenever I run my tests with debugging enabled it says "Connection was not established.". WSL2 running Ubuntu 20, with PHP and php-xdebug installed. I am having trouble getting PhpStorm 2020.2 to work with xdebug with the following setup: