[英]PHP + Xdebug + PhpStorm - listening not working
I can't run Xdebug with PhpStorm.我无法使用 PhpStorm 运行 Xdebug。 I think I have everything set up correctly.
我想我已经正确设置了一切。
php.ini is set: php.ini 设置为:
[xdebug]
zend_extension="/etc/php/7.3/mods-available/xdebug.ini"
xdebug.mode=debug
xdebug.client_host=127.0.0.1
xdebug.client_port="9003"
xdebug.idekey = "PHPSTORM"
Xdebug is running: Xdebug 正在运行:
Cookies for listening are sent: Cookies 用于监听发送:
It is set in PhpStorm as well:它也在 PhpStorm 中设置:
But it doesn't work.但它不起作用。 Does anyone know where the problem is?
有谁知道问题出在哪里?
Does adding是否添加
xdebug.start_with_request = yes
xdebug.start_with_request = 是
in php.ini helps?在 php.ini 有帮助吗? I had exactly the same problem and it was fixed by adding the aforementioned line.
我遇到了完全相同的问题,并通过添加上述行来解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.