Xdebug 不理我
我有 Xdebug 3.1.1 和 PhpStorm 2021.3。
php.ini:
[xdebug]
zend_extension=D:\Wamp64\bin\php\php8.1.0\zend_ext\php_xdebug-3.1.1-8.1-vs16-x86_64.dll
xdebug.mode=debug
xdebug.client_host=127.0.0.1
xdebug.client_port=9003
xdebug.start_with_request=trigger
xdebug.idekey=PHPSTORM
PhpStorm 中的调试端口是 9003,服务器是 localhost。
当我启动 PHP 脚本并在 PhpStorm 中侦听端口时,没有任何反应,并且 Xdebug 不返回任何值。在调试窗口中,我看到“正在等待使用 ide key 'PHPSTORM' 的传入连接”。但是当我仅调试本地 CLI 脚本文件(无服务器)时,它工作正常。
I have Xdebug 3.1.1 and PhpStorm 2021.3.
php.ini:
[xdebug]
zend_extension=D:\Wamp64\bin\php\php8.1.0\zend_ext\php_xdebug-3.1.1-8.1-vs16-x86_64.dll
xdebug.mode=debug
xdebug.client_host=127.0.0.1
xdebug.client_port=9003
xdebug.start_with_request=trigger
xdebug.idekey=PHPSTORM
Debug port in PhpStorm is 9003 and server is localhost.
When I start my PHP script and listen ports in PhpStorm nothing happens and Xdebug does not return any value. In debug window I see "Waiting for incoming connection with ide key 'PHPSTORM'". But when I debug only local CLI script file (no server) it's working fine.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论