4 ms·
Ask HN: Does 're-run cached request' exist? Do you want it to?
I've got some backend code that handles a particular type of request. I need to set a breakpoint in the code. Then I need to hop in my browser and actually make that request.
But sometimes, that last part is tedious. Maybe you first need to log in to your web app, then click around to the appropriate page, then enter some form information, and only then can you actually submit the request that kicks off the code you want to debug.
What I'd like to do is, for any function, have my IDE maintain a cache of the half-dozen or so most recent requests that have led to that function being invoked, so that I can re-run them whenever in my debugger.
Does this sort of functionality exist? Would you find it useful? Does it sound fraught with potential problems?