To display the condition evaluation report re-run your application with ‘debug’ enabled.

To display the condition evaluation report, you need to re-run your application with the ‘debug’ enabled. This will provide a detailed report showing how the conditions in your application are being evaluated.

Here is an example of how to enable debug mode in various development frameworks:

  • Spring Boot: In your application.properties or application.yml file, add the following line:

            logging.level.org.springframework.boot.autoconfigure.condition = DEBUG
          
  • ASP.NET Core: In your appsettings.json file, add the following line:

            "Logging": {
              "LogLevel": {
                "Microsoft": "Debug"
              }
            }
          
  • Node.js (with Express): In your server.js or index.js file, add the following line:

            const express = require('express');
            const app = express();
            app.use(require('morgan')('dev'));
          

Enabling debug mode will give you additional information about how the conditions in your application are being evaluated, which can help you troubleshoot any issues or understand why certain parts of your code are being executed.

Read more interesting post

Leave a comment