-
Bug
-
Resolution: Done
-
Undefined
-
None
-
1
-
Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial, User Experience
-
-
-
-
-
Would be useful add some lines into the "RED HAT JBOSS WEB SERVER FOR OPENSHIFT" doc page [1] about the ability to do remote debugging using the JPDA protocol.
It's possible to enable remote debugging on JWS (tomcat) adding an env var DEBUG=true in DC. The JWS images's $JWS_HOME/bin/catalina.sh uses that env var to open JPDA listening on port 8000. In order to connect remotely you just need to use the oc port forwarding mechanism:
Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
oc port-forward [pod name> 8000:8000