Is there a simple way (plugin / function) that uses Tidy or some other lib to pretty-print Wordpress's HTML output?
It's unreadable as it is and it's almost impossible to write a theme with proper indentation with all the includes / hooks going on all over the place.
Performance is not an issue as this only needs to be active for development purposes.