Adding a debug console