Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The xdebug.filelinkformat setting for PhpStorm and WSL2 is:

xdebug.file_link_format = "phpstorm://open?%f:%l"

This will set up a link between the PHP file that is being debugged and the corresponding file in PhpStorm. When you click on a line in the debug output, PhpStorm will open the correct file at the correct line number.