Revert "Revert "DebugConsole""

This reverts commit 4ce6068d36606452b4c436716de282eb227db1b1.