How to do single-step debugging while testing?