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"
الفئة
عرض المزيد
تعليقات - 2
مقاطع الفيديو ذات الصلة على Debugging Java applications in containers on OpenShift: