to add debug information for rawinput when input and get out