vscode+php+xdebug Time-out connecting to client (Waited: 200 ms)

如果php.ini配置没错,且端口无误,那么就可能是配置文件选错了。

vscode里面有两个配置文件,一个是 Listen for xdebug ,一个是 Lanuch currently open script。如果总是出现 断点不起作用,LOG提示  Time-out connecting to client ,那么就是配置文件选错了。 你应该选择  Lanuch currently open script,这个就是对的。

x1
>
<
>>
<<
O
 
x1
原文地址:https://www.cnblogs.com/tyonly/p/12198248.html