Implement debugPrinting