You need to increase the maximum nesting setting for XDebug, eZ publish has lots of function nesting especially when doing things like template compiling.
Edit php.ini and add (or change) xdebug.max_nesting_level, setting it to 100 should make it work.
xdebug.max_nesting_level = 100
You can also turn off XDebug until the site is finished compiling, then turn it on to debug things.