Details: Java app on GKE : Kubernetes
I am able to debug all the java files of my executable jar but not the inner jars/libraries. My executable jar's main code is in implementaion jars/libraries, I have source code of those libraries. How can I debug them?
I have used gcr.io/google-appengine/openjdk
and added following entry points:
ENTRYPOINT ["java","-agentpath:/opt/cdbg/cdbg_java_agent.so", "-Djava.security.egd=file:/dev/./urandom" ,"-Dcom.google.cdbg.module=watchlist", "-Dcom.google.cdbg.version=develop","-jar","/watchlist.jar"]
I think I need a way to put all the class files of required library jars in my main executable jar's web-inf/classes folder. How can I do that?
TIA