我第一次使用windows设置了一个新的开发环境。我已经安装了WAMP,并且我使用netbeans作为我的集成开发环境,并且在我的php.ini文件中安装并引用了XDebug。
; XDEBUG Extension
zend_extension = "c:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug-2.2.3-5.4-vc9-x86_64.dll"指向我的xdebug.dll文件。
但是,当我尝试在netbeans中进行调试时,它不会在我的任何断点处停止。有没有关于如何通过在断点处停止来正确调试的想法?我也只是为了验证我是否正在使用firefox浏览器访问有问题的页面,这样并不是说我没有运行代码


发布于 2014-01-15 20:48:48
我在php.ini文件中添加了以下内容,现在在netbeans中的断点处停止调试
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_enable=1
xdebug.remote_handler="dbgp"
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey="netbeans-xdebug"https://stackoverflow.com/questions/21134810
复制相似问题