Home > Backend Development > PHP Tutorial > phpstorm - 如何在dedeAMPZ下调试php?

phpstorm - 如何在dedeAMPZ下调试php?

WBOY
Release: 2016-06-06 20:09:53
Original
1906 people have browsed it

我使用了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>
Copy after login
Copy after login

路径什么的绝对没有问题,版本也是对的,但是就是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>
Copy after login
Copy after login

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

路径绝对有问题。

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template