In this video I quickly demonstrate how you can step-debug through Java applications running in containers on OpenShift. Using the OpenShift "oc" client and Visual Studio Code, I demonstrate how you can set breakpoints in your IDE and debug your applications running in the cloud.
The environment variable I add to the container is: "JAVA_OPTS_APPEND=-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"
Category
Show more
Comments - 2
Related videos for Debugging Java applications in containers on OpenShift: