Redirect Interrupts Firebug Output

It seems any Firebug output is lost if the controller redirects.

If I call actionTwo() here Firebug shows the output correctly:


    public function actionIndex()

	{

		$this->render('index');

	}


    public function actionTwo()

    {

        Fire::log()->info('called in the actionTwo controller');


        $this->render('index');


        //$this->redirect(array('index'));


    }

However, if I redirect to another action and call actionTwo():


    public function actionIndex()

	{

		$this->render('index');

	}


    public function actionTwo()

    {

        Fire::log()->info('called in the actionTwo controller');


        //$this->render('index');


        $this->redirect(array('index'));


    }

Firebug shows nothing. Why is this?

Because Firebug clears the console when a new page is loaded. So if you want to see any output, don’t redirect.

Or use the Persist button in the Console tab.

That is what is weird, even using the persist button FireBug still makes no mention of it.