euromark 11 年 前
コミット
1dbfff44c9
1 ファイル変更3 行追加0 行削除
  1. 3 0
      TestSuite/TestConsoleOutput.php

+ 3 - 0
TestSuite/TestConsoleOutput.php

@@ -28,6 +28,9 @@ class TestConsoleOutput extends ConsoleOutput {
 	 * @return void
 	 */
 	protected function _write($message) {
+		if (php_sapi_name() !== 'cli' && !empty($_GET) && !empty($_GET['debug'])) {
+			debug($message);
+		}
 		$this->output[] = $message;
 	}