...

/

Debugging Auto-Configuration

Debugging Auto-Configuration

In order to debug any production issue, we should know what auto-configurations are applied to the application. Learn how to debug the Spring Boot auto-configuration.

Auto-configuration report

Upon starting the application, we don’t get a lot of information of how Spring Boot decided to compose our applications through auto-configuration.

For debugging purposes, it’s essential to know which auto-configurations are applied to the application.

The following are three ways in which Spring Boot generates the auto-configuration report.

1. Application property approach

Set below property in application.properties or application.yml.

debug=true

2. Command-line approach

Or, if we don’t want to use the properties ...