首页 > 技术文章 > vscode+php+xdebug Time-out connecting to client (Waited: 200 ms)

tyonly 2020-01-15 18:41 原文

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

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

x1
>
<
>>
<<
O
 
x1

推荐阅读