我已经正确安装了netbeans 7.3、php 5.4.7和xdebug via xampp。
当我试图在包含提交给index.html文件的表单的php文件上启动调试会话时,调试器永远不会连接(等待连接)。但是,如果我在php文件上启动调试器,它会运行,但是,当然,它没有来自索引页上的表单的值?
以下是我的php.ini设置:
zend_extension = "C:\xampp\php\ext\php_xdebug-2.2.1-5.4-vc9.dll"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000我遗漏了什么?
发布于 2013-03-11 14:49:10
我不能说完全的解决方案,但根据我的经验,你应该尝试以下步骤
;XDEBUG扩展
zend_extension = "c:/wamp/bin/php/php5.3.5/zend_ext/php_xdebug-2.1.0-5.3-vc6.dll“
xdebug.remote_port=9000 xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.collect_params=0 xdebug.remote_host=localhost xdebug
我使用的是netbeans 7.3,php 5.3.5
发布于 2013-08-23 13:58:04
我使用xampp 1.8.1(php 5.4.7)和netbeans ide 7.3
这是我的php.ini配置,当apache启动时,我有一些警告,但我可以很好地调试。
还要确保在netbeans工具中配置调试端口,php,debbug,port 9000
[XDebug]
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0;
;xdebug.profiler_enable = 1;
;xdebug.profiler_enable_trigger = 0 ;
;xdebug.profiler_output_dir ="C:\xampp\tmp" ;
;xdebug.profiler_output_name = "cachegrind.out.%t-%s" ;
xdebug.remote_enable = 1;
xdebug.remote_handler = "dbgp" ;
xdebug.remote_host = "127.0.0.1";
xdebug.remote_port = 9000;
;xdebug.trace_output_dir = "C:\xampp\tmp";https://stackoverflow.com/questions/15149127
复制相似问题