Click in order · NestJS course · Module 2: Routing and Request Lifecycle

Debugging the NestJS Pipeline

Arrange the debug logs in the order they will appear in the console for a successful request:

Items to click

  • [INTERCEPTOR-AFTER] Duration: 5ms
  • [MIDDLEWARE] GET /legiones
  • [HANDLER] Processing...
  • [GUARD] User: Marcus
  • [PIPE] Value: '1' -> 1
Show the answer

Correct order:

  1. [MIDDLEWARE] GET /legiones
  2. [GUARD] User: Marcus
  3. [PIPE] Value: '1' -> 1
  4. [HANDLER] Processing...
  5. [INTERCEPTOR-AFTER] Duration: 5ms