This is an internal documentation. There is a good chance you’re looking for something else. See Disclaimer.
Remote Debugging of Nice2¶
Warning
Always make sure you select Suspend -> Thread for breakpoints in IDEA, so that you don’t freeze the whole application during your debugging session.
forward the debugging port to your machine
switch project
$ oc project nice-${INSTALLATION}
find running pod
$ oc get pods -l run=nice --show-all=false NAME READY STATUS RESTARTS AGE nice-3-2nl1q 2/2 Running 0 49m
forward port
$ oc port-forward nice-3-2nl1q 40200
Now Set Up Remote Debugging in IDEA