add ev log in debug mode

This is used to replay user input so we can reproduce crashes.