![]() Add breakpoint in src/index.php in line 6.If you wound use xdebug 3 instead 2 install at lest PhpStorm 2020.3 version and checkĪdditionally listen on Xdebug 3 default port 9003 in settings (Settings | Languages & Frameworks | PHP | Debug) or change default listening port from 9000 to 9003.Īdd mapping in Servers setting (Settings | Languages & Frameworks | PHP | Servers): ~/.bashrc" to reload your shellĭocker-compose build -no-cache -force-rm -pull WSL2 change Linux IP every reboot time, so you should, add global variable (WSLIP) in your Linux system. ![]() This solution works only if you use PhpStorm on WSL2 with X server! Small example project to show how to configure xdebug (2 or 3) with WSL2 and Docker. ![]()
0 Comments
Leave a Reply. |