Minor Debug Function Adjust

Changed debug function such that when 'd' is pressed the text appears
immediately, rather than after user presses arrow key.