public function debug($layoutId = null, $data = array())
	{
		$layoutId = $layoutId ?: 'default';

		$renderer = new \JLayoutFile($layoutId);
		$renderer->setIncludePaths($this->getLayoutPaths());

		return $renderer->debug(array_merge($this->getLayoutData(), $data));
	}
public function debug($layoutId = null, $data = array())
	{
		$layoutId = $layoutId ?: 'default';

		$renderer = new \JLayoutFile($layoutId);
		$renderer->setIncludePaths($this->getLayoutPaths());

		return $renderer->debug(array_merge($this->getLayoutData(), $data));
	}
public function debug ( $ layoutId = null , $ data = array ( ) ) { $ layoutId = $ layoutId ? : 'default' ; $ renderer = new \ JLayoutFile ( $ layoutId ) ; $ renderer -> setIncludePaths ( $ this -> getLayoutPaths ( ) ) ; return $ renderer -> debug ( array_merge ( $ this -> getLayoutData ( ) , $ data ) ) ; }
Debug a layout rendering.

@param   string  $layoutId  Layout identifier
@param   array   $data      Optional data for the layout

@return  string
Debug a layout rendering .