Toggle the “Start Listening for PHP Debug Connections” button:.PhpStorm zero-configuration debugging will automatically detect a connection and offer to create a “server” that maps your workstation files to the container. Make PhpStorm listen to the right IP address with ddev config global -xdebug-ide-location=wsl2 PhpStorm Zero-Configuration Debugging ¶ If using PhpStorm inside WSL2 or with JetBrains Gateway It provides two ways to do debugging: “zero-configuration” debugging which requires very little effort in the PhpStorm IDE, and a “run configuration” you can set up just like Netbeans or Eclipse. PhpStorm is a leading PHP development IDE with extensive built-in debugging support. The intention here is that one won’t have to understand Xdebug to do debugging. If you’re running your IDE with a proxy inside the web container, you can set that with `ddev config global –xdebug-ide-location=container.įor more background on Xdebug, see Xdebug documentation.
0 Comments
Leave a Reply. |