Debugging code keycounter