Home Explore Blog CI



docker

4th chunk of `content/guides/java/develop.md`
d10fc42013e753721fe6e22bf0437c0b99d208002400b32e0000000100000257


Set a breakpoint.

Open `src/main/java/org/springframework/samples/petclinic/vet/VetController.java` and add a breakpoint inside the `showResourcesVetList` function.

To start your debug session, select the **Run** menu and then **Debug _NameOfYourConfiguration_**.

![Debug menu](/Users/baehyunsol/Documents/Rust/ragit/sample/docker/content/guides/java/images/debug-menu.webp?w=300)

You should now see the connection in the logs of your Compose application.


Title: Debugging the Application
Summary
This section describes how to set a breakpoint in the `VetController.java` file and start a debug session in IntelliJ IDEA by selecting the 'Debug' option in the 'Run' menu. The section also shows that a connection should be visible in the logs of the Compose application.