我正在为我的代码 Xdebug
安装Visual Studio
但是一直出现这个错误。
Error: spawn C:\wamp\bin\php\php7.2.14 ENOENT } in VScode when installing php
我在网上尝试了很多方法。我试着把我的 zend_extension
路径 php.ini
双向引导。
我在我的JSON对象中添加了runtimeExecutablelaunch.json
但是仍然还是失败。
以下是完整的错误信息:
{ Error: spawn C:\wamp\bin\php\php7.2.14 ENOENT at Process.ChildProcess._handle.onexit at onErrorNT (internal/child_process.js:406:16) at process._tickCallback (internal/process/next_tick.js:63:19) errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn C:\\wamp\\bin\\php\\php7.2.14', path: 'C:\\wamp\\bin\\php\\php7.2.14', spawnargs: [ 'c:\\wamp\\www\\NULB\\admin\\index.php' ] }