Print the right thing and clear the debug text.