Made the debug console work for my machine.