debug the keys to output