added a debug output console