To enable debug you need to modify the deployment of the service you want to
debug, add the following:
- name: JVM_ARGS
value: -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=9897
If you want to add to more than one container, then make sure to have unique
port number.
Finally, if IntelliJ is giving you trouble connecting to the remote debugger,
try restarting it. Sometimes if holding the debugging session even though it’s
saying it’s not connected anymore.
Hope this helps,
Alexis
> On Jan 7, 2019, at 9:01 AM, Prakash via Lists.Onap.Org
> <[email protected]> wrote:
>
> Hi Team,
> Beijing i used to edit docker-compose file to add debug port for the MSO
> pod and done debugging at run-time. But in R3 i see the modules are now
> separate containers and I’m quite confused with how the same can be done. I
> enabled the debug port for Api-infra pod but i get connection reset error
> upon trying to connect through intelliJ.
> In Casablanca how to do run-time debugging?
>
> --
> Regards,
> Prakas P,
> Network and Technology IT,
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14824): https://lists.onap.org/g/onap-discuss/message/14824
Mute This Topic: https://lists.onap.org/mt/28962803/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-