PHP executablePath in Windows 11 with WSL2 for VisualStudio Code #4574
Unanswered
Copylefter
asked this question in
Q&A
Replies: 1 comment
-
I don't think you should need to do this at all if you just follow the instructions in https://ddev.readthedocs.io/en/latest/users/debugging-profiling/step-debugging/#visual-studio-code-vs-code-debugging-setup - unless you're doing something other than just step-debugging. For exotic configurations I think people have convinced vscode to behave by making a wrapper binary, /usr/local/bin/php with contents
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm couldn't use Xdebug tool with VScode on windows machine as it explains in official tutorial https://ddev.readthedocs.io/en/stable/users/debugging-profiling/step-debugging/
VScode asked me for PHP executablePath and I could get in from the docker container.
Cannot validate since a PHP installation could not be found. Use the setting 'php.validate.executablePath' to configure the PHP executable.
How it could be resolved?
Beta Was this translation helpful? Give feedback.
All reactions