Added printing debug info