PhpStorm 10 + PHP 7.0.3 + xDebug 2.4.0RC3 不工作
PhpStorm 10 + PHP 7.0.3 + xDebug 2.4.0RC3 not working
我已经遵循了我发现的所有建议,但我无法让 PhpStorm 使用 PHP 7 和 xDebug。我确实让它与 PHP 5.6.
一起工作
Xdebug 正在被 PHP 加载。我在 phpinfo()
输出中进行了验证。我已将 PhpStorm 切换为使用 PHP 7 版本,它还将正确的调试器列为 xdebug 2.4.0RC3
我的 xdebug 设置是:
zend_extension = "/usr/local/opt/php70-xdebug/xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.remote_host = 127.0.0.1
xdebug.scream = 0
xdebug.cli_color = 1
xdebug.show_local_vars = 1
xdebug.idekey = PHPSTORM
我安装了 xdebug chrome 扩展,它正确地添加了 Cookie:XDEBUG_SESSION=PHPSTORM;
。我还在 PhpStorm 中启用了调试侦听器。
任何人都可以建议我还能做些什么来尝试触发我的断点吗?
所以,就我而言,我发现通过将端口从 9000
移动到 9001
是固定的。我猜其他东西已经在使用默认端口了。问题已解决!
以防其他人降落在这里。对我来说,解决方案是二进制文件的路径没有使用 "quotes".
[xdebug]
zend_extension = "C:\wamp\bin\php\php7.0.16\ext\php_xdebug-2.5.1-7.0-vc14-x86_64.dll"
我已经遵循了我发现的所有建议,但我无法让 PhpStorm 使用 PHP 7 和 xDebug。我确实让它与 PHP 5.6.
一起工作Xdebug 正在被 PHP 加载。我在 phpinfo()
输出中进行了验证。我已将 PhpStorm 切换为使用 PHP 7 版本,它还将正确的调试器列为 xdebug 2.4.0RC3
我的 xdebug 设置是:
zend_extension = "/usr/local/opt/php70-xdebug/xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.remote_host = 127.0.0.1
xdebug.scream = 0
xdebug.cli_color = 1
xdebug.show_local_vars = 1
xdebug.idekey = PHPSTORM
我安装了 xdebug chrome 扩展,它正确地添加了 Cookie:XDEBUG_SESSION=PHPSTORM;
。我还在 PhpStorm 中启用了调试侦听器。
任何人都可以建议我还能做些什么来尝试触发我的断点吗?
所以,就我而言,我发现通过将端口从 9000
移动到 9001
是固定的。我猜其他东西已经在使用默认端口了。问题已解决!
以防其他人降落在这里。对我来说,解决方案是二进制文件的路径没有使用 "quotes".
[xdebug]
zend_extension = "C:\wamp\bin\php\php7.0.16\ext\php_xdebug-2.5.1-7.0-vc14-x86_64.dll"