我是firephp前萤火虫的粉丝。然而,它不输出换行符真的让我烦恼(请原谅双关语)。它使调试查询非常繁琐,因为我必须将查询复制到记事本++并手动格式化。
require_once(ROOT_DIR.'/includes/FirePHPCore/FirePHP.class.php');
require_once(ROOT_DIR.'/includes/FirePHPCore/fb.php');
$stringWithNewLines = "
hello world \n \n
and more and more
and
more
";
$firephp->log($stringWithnewLines);
$firephp->info($stringWithnewLines);
$firephp->warn($stringWithnewLines);
$firephp->error($stringWithnewLines);
输出以下内容
我遇到了以下 http://code.google.com/p/firephp/issues/detail?id=30
基本上说它不受支持并且链接到看起来不再活跃的fireconsole?有没有替代 firephp 或任何解决方法?