当前位置:Gxlcms > PHP教程 > phpstorm-如何在dedeAMPZ下调试php?

phpstorm-如何在dedeAMPZ下调试php?

时间:2021-07-01 10:21:17 帮助过:21人阅读

我使用了dedeAMPZ工具来进行PHP开发,现在想进行调试,想安装xdebug,如下

[xdebug]
zend_extension="..\DedeAMPZ\Program\PHP5\php_xdebug-2.4.0-5.4-vc9-nts.dll"
xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host= 127.0.0.1
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM

路径什么的绝对没有问题,版本也是对的,但是就是phpinfo()的时候不显示xdebug。PHPStorm开启调试模式的时候,一直显示Waiting for incoming connection with ide key XX,找了很多很多资料都没有解决,请问下问题会出在哪?

回复内容:

我使用了dedeAMPZ工具来进行PHP开发,现在想进行调试,想安装xdebug,如下

[xdebug]
zend_extension="..\DedeAMPZ\Program\PHP5\php_xdebug-2.4.0-5.4-vc9-nts.dll"
xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host= 127.0.0.1
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM

路径什么的绝对没有问题,版本也是对的,但是就是phpinfo()的时候不显示xdebug。PHPStorm开启调试模式的时候,一直显示Waiting for incoming connection with ide key XX,找了很多很多资料都没有解决,请问下问题会出在哪?

路径绝对有问题。

请使用绝对路径
X:\Platform\php\ext\php_xdebug.dll

人气教程排行