I developed a java program which is supposed to run in docker. However, I encountered a lot of pains when debugging my java program running in docker.
I searched on Internet, some tutorials proposed tools like spring-dev-tools (as my java program is a spring-boot-based program).
https://www.youtube.com/watch?v=sz5Zv5QQ5ek
Based on thoses tutorials, debugging is ok, such as setting breakpoint and variable watching, however, when I update my code (for instance, some classes), thoses changes cannot be reflected immediately in the program running in docker, the programm behaves as old code.
Can anybody give some hints ?