前几个月还能用的.但是今天试了下,无法在断点处停止.用phpinfo()可以看到XDebug能运行这是我php.ini的配置
[Xdebug]   
zend_extension_ts="E:/APMServ5.2.6/PHP/ext/php_xdebug.dll"
xdebug.remote_enable=On
xdebug.remote_autostart=On
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.1.100
xdebug.remote_port=9000
xdebug.remote_mode=req不知道这是不是和我在Eclipse中给项目换了个名称有关?在phpserver的path mapping中,该怎么填啊?
我是这样填的:
Path on server填:  E:\APMServ5.2.6\www\htdocs\auto-system
Path in Wrokplace 填:  /auto-system不知道对不?

解决方案 »

  1.   

    zend_extension_ts="E:/APMServ5.2.6/PHP/ext/php_xdebug.dll" 
    xdebug.remote_enable=On 
    xdebug.remote_autostart=On 
    xdebug.remote_handler=dbgp 
    xdebug.remote_host=192.168.1.100 
    xdebug.remote_port=9000 
    xdebug.remote_mode=req 
    这些足够了 其它不用管 然后主要是php_xdebug.dll文件的版本 多试几个 不宜过高 
    然后调试的时候 记得选择的是x_debug 
      

  2.   


    奇怪的是,我的调试功能两个月前还能用现在再用,就不行了奇怪啊跟版本没什么关系吧,php_xdebug.dll文件我都没有动过
      

  3.   

    我查出原因了原来是xdebug的9000端口被ppap这个软件占用了改一下端口就可以了