Describe the bug when security web run in debug mode, it throw

IllegalStateException: Couldn't find FilterChainProxy

To Reproduce environment

jdk17
maven:3.9.5
spring-boot-starter-web:3.2.1
spring-boot-starter-security:6.2.1

any example using anotation

@EnableWebSecurity(debug = true)

reason Spring Security IllegalStateException: Couldn't find FilterChainProxy Spring Security IllegalStateException: Couldn't find FilterChainProxy

Sample git@github.com:momer524/security-debug-model-issue.git

Comment From: marcusdacoregio

Hi, @momer524. This is a duplicate of https://github.com/spring-projects/spring-security/issues/14370