I find that incremental development tends to break when coding for Hunchentoot.
For example, I might write a web page that is composed of a few functions. If one of these inner functions contains a call to - say - hunchentoot:post-parameters* then I can't easily test the function in the REPL. It'll error out because *request* doesn't exist unless the page is called by a web client.
It would be nice if some function-or-other-source existed such that I could test my-function thus:
>(let* ((*request* (get-previous-request-from-somewhere))
(*session* (slot-value *request* 'hunchentoot:session)))
(my-function <whatever params>))
Does it or something similar exist? Am I overlooking a better approach to debugging?