betsjas.blogg.se

Download phpstorm xdebug wsl2
Download phpstorm xdebug wsl2










download phpstorm xdebug wsl2

).Ĭ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.

download phpstorm xdebug wsl2

3) 'Unable to get PhpStorm to connect to Xdebug' It's Xdebug that connects to IDE and NOT other way around. 2) Show Xdebug related settings from PhpStorm as well. place it in your test.php and try to debug it). This is for CLI only, I'm not trying to connect via php-fpm (so no Apache, nginx. 1 1) Please share Xdebug section from phpinfo () output (e.g. E: Time-out connecting to client (Waited: 200 ms).

download phpstorm xdebug wsl2

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:












Download phpstorm xdebug wsl2