Maison >développement back-end >tutoriel php >phpstorm - 如何在dedeAMPZ下调试php?

phpstorm - 如何在dedeAMPZ下调试php?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBoriginal
2016-06-06 20:09:531952parcourir

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

<code>[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
</code>

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

回复内容:

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

<code>[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
</code>

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

路径绝对有问题。

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

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn