To use tracing and customization, you can start the application with the middlewares profile from the command line using --profile middlewares or set cds.requires.middlewares = true within your project configuration.
This configuration becomes the default with one of our upcoming releases.
The tracing middleware allows you to do a first-level performance analysis. It logs how much time is spent on which layer of the framework when serving a request. To enable this middleware, you can set for example the environment variableDEBUG=trace.