Is there a way to output during the build process?

I’ve noticed that my build process is getting slow, but I’m not sure the best way to debug things. Is it possible to output something to Terminal for each page during the build process? I tried middleman build --verbose but it didn’t provide what I’m looking to output.

To answer my own question, simply using puts in a layout file or the config file does the trick.