Provide input while advancing/skipping frame in editor?

I want to debug an animation issue by advancing the game frame-by-frame and checking the state of things, is there an easy way to provide player input while doing this? The game doesn’t seem to receive input when the viewport isn’t focused.