PhpStorm零配置调试不适用于PHP 5.4.19

问题描述 投票:1回答:1

我正在使用XAMPP版本v3.2.1,这是php -v的输出:

PHP 5.4.19 (cli) (built: Aug 21 2013 01:12:03)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans

我想用PhpStorm设置Zero-Configuration Debugging,所以我遵循了所有步骤(我认为),并尝试启动一个带有断点的PHP文件。但是由于某些原因,当我打开/刷新页面时,它根本不会检测到断点,也不会在PhpStorm中显示incoming connection屏幕。

我在这里验证了我的设置:

enter image description here

并且我正在使用https://github.com/BrianGilbert/xdebug-helper-for-firefox Firefox插件。

我只是想在浏览本地PHP网站时简单地调试它,我做错了什么?

php debugging phpstorm xdebug
1个回答
1
投票

您正在使用PHP 5.4。为了上帝的爱,请升级。这和Xdebug的2.2已有六年没有得到支持了。不再支持PHP 5.4或Xdebug 2.2,并且不再支持很长时间。

© www.soinside.com 2019 - 2024. All rights reserved.