Implement console for debugging