

This combines a good usability of PHPStorm in my windows environment and a good performance of my application since WSL -> docker does not need a nfs share or anything like that. Currently I have PHPStorm installed on Windows, my project is located in WSL. ddev as there should be all information needed to configure a remote interpeter, ssh sessions and so on but sadly I do not know anyone who is able to write such a plugin. I think for "auto configuration" you would need a PHPStorm plugin that is able to parse everything inside. This seems to work for non WSL environments already and as you can see in the video in the PHPStorm ticket, it also works for relative paths in WSL. I hoped using the docker-compose-full file and configuring phpstorm once per project would work. If you work in a team every team member wpuld need to do those steps for each project they work on.Įven if you automate these steps in a script if feels strange and not well integrated. update the dumped docker-compose file regulary, as the configuration might change (I think?).configure remote interpreter (which is also quite complicated instead of the auto configures vagrant stuff).replace port definitions (fixed in 2021.2).

remove debugging output from the first line.I know it is already possible, but the way to achieve this is currently quite complicated and especially for "newbies" very difficult. Means I run ddev start and afterwards I want to be able to use all the phpstorm features that are availabe for vagrant environments, like running single tests by clicking the play button beside their definition, or debugging code in cli environment. I tryed to update my PhpStorm servers config as follow but this is still not working.I would like to accomplish a "vagrant like" setup. When i try to put a breakpoint on my controller, it will display with an error and no stop on this breakpoint: File path is not mapped to any file path on server. \\wsl$\Debian\home\XXXX and W:\home\XXXX but it changed nothing.ĮDIT: I started the server using php -S localhost:8000 and the debugger is working but only in my index. I've tried to fix this issue by opening the project from Cannot find a local copy of the file on the server /home/pierrem/.symfony5/php/4cddbar1067c22542bca91af1a7693a48ce69eea-router.php Then when I make a call to my server by loading a page, it stop on multiple files but not on my breakpoints. I had trouble to configure my Xdebug on my server but I managed to make it recognised by PhpStorm. I use PhpStorm on my Windows to code and I wanted to also use it to debug with Xdebug. I'm running a Symfony server with PHP7.3.33 & Xdebug 3.1.5 on a Debian Windows Sub-System Linux.
