take a `frame` kwarg

to work with pytest.set_trace()

this should fix #13