vscode-php-debug icon indicating copy to clipboard operation
vscode-php-debug copied to clipboard

docs: Adding reference to php.validate.executablePath

Open asopenag opened this issue 4 years ago • 2 comments

It wasn't working to me until I learned this step in this youtube video... I think it's useful for dummies like me.

asopenag avatar Jun 19 '21 11:06 asopenag

Hi! Thanks for this, but I need to look into this as the runtime executable (php.exe) shouldn't come from any VSCode setting. At least not by default...

zobo avatar Jul 04 '21 10:07 zobo

Hi. I revisited this issue, but it does not make much sense. php.validate.executablePath is used by php intellisense or the build in php validator, not by this extension. If it were, there's some other extension manipulating the debugger configuration at runtime.

However I have been recently working on improving the debugging setup experience and have added just this feature. Implemented in #645 users will be able to set php.executablePath or php.validate.executablePath and if there will be no other php executable defined in launch.json one of those will be used.

zobo avatar Sep 28 '21 12:09 zobo