You can copy launch.json file from here./ Revised blog post: The latest PHPStorm version supports indexing and file listener directly on the WSL folder \\wsl$\. If you are using vscode IDE, than check your port in launch.json file. Sadly I have not been able to figure out the exact issue but will update this post when I migrate over to our new WSL environment. A colleague has tried a pure WSL setup without the docker(desktop) layer and got it working there. I know this because we confirmed XDebug makes a connection with vscode but then appears to break somewhere along the way. But still not for me, I have also reinstalled vscode, removed all extensions (total reset) but still no luck.įYI - The problem is probably Docker / Docker Desktop, I tried looking into downgrading but firstly you would have to go back in version quite far and below 4 is not listed anymore on the website. UPDATE 1:1200 - I have migrated to our new WSL environment and xdebug + phpdebug works for two other dev's in vscode. So you can know that it is your environment that is the problem. Either WSL or maybe something like Xampp or Laragon just for quick testing purposes. So if you are using Docker I would recommend you to check your environment for issues or try switching to something else. RUN docker-php-ext-install mysqli pdo pdo_mysql zip mbstring simplexml domĬOPY credentials.aws /var/www/.aws/credentials RUN apt-get update & apt-get install -y \ Maybe because of a VSCode or PHP Debug plugin update?īut so far I have been unable to get it working or get it working only half? I switched over to an Xdebug 3 config to try it out, since 2.9 appears to have stopped working for me. So first of all since October for some reason my previously working Xdebug config for VSCode + Docker stopped working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |