CGE2: Implement debug console and add a debug channel for opcodes.