Debug output for octopus and convert generators to lists

Test for production bug