Determining the Entry Point for Incoming Requests in Express.js Server

In my Node.js Express server, I’m trying to pinpoint the exact location where incoming requests are initially processed. I’ve attempted to log the request object, but I’m struggling to identify the precise entry point within my codebase where requests are first handled upon arrival from the client. Could someone provide insight into which part of the code or which specific line is executed first when a request is received by the Express server?

I’ve explored logging the request object but haven’t been able to trace it back to the initial entry point.
My goal is to better understand the request lifecycle within Express.js and locate the primary handler for incoming requests.
Any tips, code snippets, or explanations clarifying the request processing flow would be greatly appreciated.