PHP Xdebug 3 和 Visual Studio Code

Xdebug3 相对于Xdebug2改动挺大的。在php.ini 里下面的设置就够了,不需要多余的。默认调试端口 9003

 

[XDebug]
zend_extension = "php_xdebug.dll"
xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.idekey = VSCODE

https://community.localwp.com/t/local-xdebug-vscode-mostly-working-in-2022-but-cannot-connect-to-local-site-through-port-9000-9003/33290

posted @ 2023-06-07 22:46  johnsonshu  阅读(60)  评论(0编辑  收藏  举报