Outputs debugging info for keypresses