Script adding wsl2 and winhost to windows hosts file File Windows/System32/drivers/etc/hosts should be writebable for user from which launched WSL2
- Copy to /usr/local/bin
- $ docker-start
- Enjoy!)
Your docker server now available here tcp:https://wsl2:2375 And any other services
zend_extension=xdebug.so
xdebug.remote_host=winhost
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_connect_back=0
xdebug.idekey=PHPSTORM
xdebug.remote_autostart=1
xdebug.remote_log = /home/user/xdebug.log