Debug console fix