debug the text input