前几个月还能用的.但是今天试了下,无法在断点处停止.用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不知道对不?
[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不知道对不?
解决方案 »
- 怎么知道其它网站来了一个点击,新手别见笑
- 用fopen可以打开上传的临时文件吗?
- 请教一本PHP书里的一段文字的理解
- 求教
- 初入贵宝地菜鸟散分!顺带个问题:为了方便使用,我创建了二个数据库连接类,不知道这样会不会影响效率???
- 我想知道,什么是PHP,可以告诉我吗
- 想学PHP,麻烦推荐一下使用什么环境,什么数据库?
- class(类),var(定义变量),entends(继承),sybase11.9.2(连接)100%内存不可写错误。(2k下)
- 怎样编辑表中的内容
- 为什么直接把文件写在<input type="file" name="filename" value="c:\a.jpg">就无法上传
- 新开群! PHP+前端技术交流
- 请问什么加密算法能把一个网址加密成这样100个字的字符串?
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
奇怪的是,我的调试功能两个月前还能用现在再用,就不行了奇怪啊跟版本没什么关系吧,php_xdebug.dll文件我都没有动过