Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Java debugging port #213

Open
jluyten opened this issue Oct 27, 2020 · 1 comment
Open

Expose Java debugging port #213

jluyten opened this issue Oct 27, 2020 · 1 comment

Comments

@jluyten
Copy link

jluyten commented Oct 27, 2020

Feature Request

Is your feature request related to a problem?

Currently there is no way to debug your application in case of errors. We have a case where everything is working fine on Liberty standalone, but using OpenLiberty in Openshift there is an error. -> No way to debug currently.

Describe the solution you'd like

A way to expose your debugging port so you can connect your IDE remote debugger.

@arturdzm
Copy link
Contributor

There is two reason to not expose debug ports:

  1. If you have multiple pods it's ambiguous to which one the service/port will connect to
  2. Generally for any debugging it is possible to use kubectl port-forward POD_NAME loalPort:remotePort or same command using oc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants