请问,使用的eclipse for php developers 版本是 version: helios service release 1
xdebug是已经安装好的了,通过phpinfo()可以在浏览期看到如图1所示的
图1
当配置完eclipse后,建立个helloworld的工程,工程里边只有一个文件 my.php 代码如下:
echo "hello world";
?>
当点击run as -> php wed page,出现图2所示的错误提示,麻烦知道怎么处理的朋友帮忙回复下,谢谢啦
图2
你指定了 xdebug.trace_output_dir 和 xdebug.profiler_output_dir 吗?
截图中没看到
你指定了 xdebug.trace_output_dir 和 xdebug.profiler_output_dir 吗?
截图中没看到
但错误信息
No appropriate file located or no file selected. Debug Terminated
没有选择适当的文件或没有选择的文件。调试结束
你把那几个指定报告文件名格式的指令注释掉试试
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号