# Request/Response Flow

**URL:** <https://discourse.slimframework.com/t/request-response-flow/4321>\
**Category:** Questions\
**Created:** [July 31, 2020, 2:59pm UTC](https://discourse.slimframework.com/t/request-response-flow/4321 "2020-07-31T14:59:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkalchemy](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@darkalchemy](https://discourse.slimframework.com/u/darkalchemy)\
**Post date:** [July 31, 2020, 2:59pm UTC](https://discourse.slimframework.com/t/request-response-flow/4321/1 "2020-07-31T14:59:05Z")

</div>

Is there a library or method that will trace the the path the request and response takes as it flows through Slim?

I would like to get a visual idea of what classes are methods are touched as the request comes in and the response goes out.

Thanks

---

<div class="post-metadata">

**Author:** ![tflight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/tflight/32/1205_2.png) [@tflight](https://discourse.slimframework.com/u/tflight)\
**Post date:** [August 1, 2020, 10:53am UTC](https://discourse.slimframework.com/t/request-response-flow/4321/2 "2020-08-01T10:53:38Z")

</div>

There are tools built into PHP for that such as [debug\_print\_backtrace](https://www.php.net/manual/en/function.debug-print-backtrace.php). Additionally step debuggers like [Xdebug](https://xdebug.org/docs/stack_trace) do that along with a suite of other handy tools.

---

<div class="post-metadata">

**Author:** ![darkalchemy](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@darkalchemy](https://discourse.slimframework.com/u/darkalchemy)\
**Post date:** [August 1, 2020, 12:44pm UTC](https://discourse.slimframework.com/t/request-response-flow/4321/3 "2020-08-01T12:44:51Z")

</div>

Thanks. I forgot about Xdebug.
