Developing Spring Boot Application using Docker - Part 2
Hopefully you have now got your Spring Boot Application run inside the container. If you are not there yet, please visit Developing Spring Boot Application using Docker - Part 1 to go start. There is one thing as an Architect on my daily job, I used to ask myself, if we run the application inside the container, how do we debug? How to view logs? How to triage issues on local? The biggest of all is debugging the Spring Boot Application that is running inside the container. Setting up Debugging environment The concept of debugging any Java Based Application that is running inside the container can be done using the most common way is using remote debugging. Typically, whenever we wanted to debug applications that are running in a machine that is outside of our own, we use Remote Debugging. Most IDEs like Eclipse and IntelliJ ship with those capabilities. The good news is, the setup required to get that started are fairly common. Lets see how to get that setup when running on docker. To ...