how to correctly remote-debug a pod with intellij?
You can try using Suspend policy: Thread when debugging. As per Breakpoint properties docs:
Thread: only the thread containing this breakpoint will be suspended.
This approach is far from ideal. If you are debugging a multi-threaded application other threads will continue to run and potentially interfere with your debugging session. However it might allow the pod to pass the liveness test.