spawn php ENOENT when using XDebug in VSCode

0

0

VSCode 1.25 version, XDebug 2.6, php-fpm 72, Windows 10 (1803).

I have installed xdebug itself and vscode xdebug extension using this info: https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug

Now when i run debugger, i immediately get an error in a DEBUG console:

spawn php ENOENT

Despite this thing - everything seems to be working (debugging itself) as intended. Should i ignore this message/error?

I am using php inside WSL, in VSCode (installed in Windows) settings i've set correct (working) path to my php.

Alexander Kim

Posted 2018-08-09T08:02:08.807

Reputation: 318

Vscode in Windows or in Linux? – Biswapriyo – 2018-08-09T09:03:21.660

in Windows, php is inside WSL – Alexander Kim – 2018-08-09T11:08:57.683

Voting to migrate this to Stack Overflow. – slhck – 2018-08-09T11:40:07.263

I need it in Windows. so no way. – Alexander Kim – 2018-08-09T15:55:41.893

No answers