I'm currently evaluating Flow3 for an upcoming project. The AOP Pattern and Dependency Injection would be just ideal for our purpose.
Now what I can't figure out is how to debug some results in a controller Action.
public function testAction() {
$beans = $this->coffeeBeanRepository->findAll();
var_dump($beans); // doesn't work, browser crashes
}
What I've tried:
You want to use FLOW3's var_dump, which deals with some of the recursion that comes from deeply nested objects and causes your browser to cache:
\TYPO3\FLOW3\var_dump()
XDebug can be tricky in FLOW3 because FLOW3 creates proxy classes for your classes in order to make all the AOP magic happen. Still, I know the developers here are using xdebug_break() successfully in PHPStorm on their FLOW3 projects, so it's definitely doable.