Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

karlkras's avatar

Debug setup with Intellij/Laravel sail (docker) on wsl2?

Does anyone have directions on how to configure xdebug settings in Intellij (running on windows 11) to work with a Laravel sail project loaded from the Linux wsl2 drive? I have the recommended environment variable set in the .env file of the project, and have been able get a break on the start of the main source file so I know xdebug is available on the server, but not having any luck getting break points in intellij to resolve.

0 likes
0 replies

Please or to participate in this conversation.