Merge pull request #910 from pushkarnk/debug-print