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
posted @ 2020-01-15 18:41  花自有道  阅读(1243)  评论(0编辑  收藏  举报