print console output to help debugging