PhpStorm调试器不会在BreakPoints处停止;一直在等待xdebug _SESSION_ [英] PhpStorm debugger not stopping at BreakPoints; keeps waiting for xdebug _SESSION_

查看:231
本文介绍了PhpStorm调试器不会在BreakPoints处停止;一直在等待xdebug _SESSION_的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已更新的问题:PhpStorm | WebMatrix(IISExpress)| Xdebug.remote_port | —将哪个端口放在哪里?

我正在Windows机器上使用WebMatrix和IISExpress运行localhost Web服务器.我已经在其中安装了PHP和Xdebug,它们都可以正常工作.

I'm running localhost web server on my Windows machine with WebMatrix and IISExpress. I've installed PHP and Xdebug in it and they both are working.

我在本地安装了WordPress.

I have a local WordPress install.

我现在正试图让PhpStorm使用Xdebug对其进行调试.

I'm now trying to get PhpStorm to debug it using Xdebug.

当我运行PhpStorm时,它将在浏览器中启动Web应用程序,并在浏览器中提供相关的调试参数.

When I run PhpStorm it launches the web app in the browser with relevant debugging parameters in the browser.

IDE KEY匹配

xdebug.remote_port配置正确. (后来我发现这是错误的,但不是错误的.应该是端口9000)

xdebug.remote_port is configured correctly. (Later I found that this is wrong, but not erroneous. It should be port 9000)

但是Xdebug似乎从未与PhpStorm通信. PhpStorm一直在监听,并且执行完全运行而不会在任何断点处停止.

But it seems Xdebug never gets to communicate with PhpStorm. PhpStorm keeps listening, and the execution runs completely without stopping at any break-points.

推荐答案

php.ini中存在语法错误.还有多余的"引号";分号;.

There was a syntax error in php.ini. There were extra "quotes" and ;colons;.

这篇关于PhpStorm调试器不会在BreakPoints处停止;一直在等待xdebug _SESSION_的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆