我的xdebug已经按照教程要求的安装了,在phpinfo()中也看到了它已经运行起来了。但是我在testxdebug.php中输入以下内容
<?php
echo "test<br>";
request("abc.php");?>
(abc.php不存在)
按理应该出现红字提示。
但是我的firefox只输出了test,其他的什么都没有,这是怎么回事呀,哪位高手帮帮我,我感激不尽。

解决方案 »

  1.   

    没有过用Zend IDE debuger + firefox
      

  2.   


    ini_set('display_errors','On');
    ini_set('html_errors','On');
    //加上或者在php.ini里修改
      

  3.   


    error_reporting(E_ALL);
    ini_set('display_errors','On');
    ini_set('html_errors','On');
    echo "test<br>";
    request("abc.php");
      

  4.   

    在文件头包含上error_reporting(E_ALL);
    ini_set('display_errors', 1)