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

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