#Spring Boot Development with Docker - hot reload + debug

13 messages · Page 1 of 1 (latest)

rustic radish
#

Hi, I am learning to work with docker in intelijidea when developing springboot web app.
I can now containerise my app a run it in docker, but if i want to have "hot reload" in container or ability to debug in container, it will take a lot more complicated set-up.

My question is. What most developers do ? You develope localy (classic maven tomcat server) and from time to time you check app in docker container ?
Or you go the way that you develope whole time in container ?

Thanks for info

wooden pecanBOT
#

This post has been reserved for your question.

Hey @rustic radish! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

upbeat lake
#

I typically develop and debug the application locally

#

ofc, it's still possible to use JDWP with Docker if you want to attach a debugger

wooden pecanBOT
#

💤 Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.

median tapir
#

Debug and HotReload are used as synonymes here. In fact hot-code-replace or "hot-reload" is a special debugging mechanism.
Are you looking for a simple debug or the advanced hot-code-replace?

upbeat lake
median tapir
#

JDWP? I thought it is called jpda...

upbeat lake
median tapir
#

ok, you meant the protocol.

upbeat lake
#

maybe the "J" actually refers to "JDK"

#

there's also JVM-TI