如何通过HTTP协议远程调试Java

huangapple 未分类评论85阅读模式
英文:

How to remotely debug java via HTTP protocol

问题

我的 webapp 基于 springboot,部署在 Kubernetes 中。由于公司限制使用 NodePort 类型的服务,有没有办法将 jdwp 转换为 http,以便可以通过 http 协议进行远程调试。

英文:

My webapp base springboot is deployed in Kubernetes. Because the company restricts the use of NodePort type of service. Is there any way transfer jdwp to http so that remotely debug via http protocol.

答案1

得分: 0

Sure, here's the translation:

你可以尝试使用 Kubernetes 的端口转发功能。请参考以下博客,了解如何在 Openshift 上处理应用程序的远程调试。

https://dzone.com/articles/remote-debugging-of-java-applications-on-openshift

英文:

You can try Kubernetes port-forward functionality. Please refer the below blog, on how remote debugging of applications is handled on Openshift

https://dzone.com/articles/remote-debugging-of-java-applications-on-openshift

huangapple
  • 本文由 发表于 2020年8月14日 20:56:23
  • 转载请务必保留本文链接:https://java.coder-hub.com/63413208.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定