---
title: "Discussion on \"Spring Security: Configure debug mode programmatically\" | Hashnode"
description: "Discussion on \"Spring Security: Configure debug mode programmatically\". Introduction\nIf you have used Spring Security before, you will likely enable the debug mode at some point\n@Configuration\n@EnableWebSecurity(debug = true)\npublic class WebSecurityConfiguration {\n    // omit\n}\n\nStart the application and you will see th..."
url: "https://hashnode.com/posts/spring-security-configure-debug-mode-programmatically/64b16d9fa3a2d7754ca4290c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Spring Security: Configure debug mode programmatically](https://bwgjoseph.com/spring-security-configure-debug-mode-programmatically?utm_source=hashnode&utm_medium=feed)

Introduction If you have used Spring Security before, you will likely enable the debug mode at some point @Configuration @EnableWebSecurity(debug = true) public class WebSecurityConfiguration { // omit } Start the application and you will see th...

Jul 14, 2023 · 2 min read · bwgjoseph.com  
Read the article

-   [#springboot](https://hashnode.com/tag/springboot)
-   [#spring-security](https://hashnode.com/tag/spring-security)
-   [#til](https://hashnode.com/tag/til)

## Written by

[Joseph Gan](https://hashnode.com/@bwgjoseph)

@bwgjoseph · Singapore

  
[View profile](https://hashnode.com/@bwgjoseph)

Advocate for better developer's productivity and experience Documenting my learnings and sharing it

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
