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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章