/Library/Java/JavaVirtualMachines/adoptopenjdk-11.0.1.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:50592,suspend=y,server=n -javaagent:/Users/dabou/Library/Caches/IntelliJIdea2019.2/captureAgent/debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "/Users/dabou/Downloads/podsetoperatorinjava-master/target/classes:/Users/dabou/.m2/repository/io/fabric8/kubernetes-client/4.6.0/kubernetes-client-4.6.0.jar:/Users/dabou/.m2/repository/io/fabric8/kubernetes-model/4.6.0/kubernetes-model-4.6.0.jar:/Users/dabou/.m2/repository/io/fabric8/kubernetes-model-common/4.6.0/kubernetes-model-common-4.6.0.jar:/Users/dabou/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.9.9/jackson-module-jaxb-annotations-2.9.9.jar:/Users/dabou/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar:/Users/dabou/.m2/repository/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar:/Users/dabou/.m2/repository/com/squareup/okhttp3/okhttp/3.12.0/okhttp-3.12.0.jar:/Users/dabou/.m2/repository/com/squareup/okio/okio/1.15.0/okio-1.15.0.jar:/Users/dabou/.m2/repository/com/squareup/okhttp3/logging-interceptor/3.12.0/logging-interceptor-3.12.0.jar:/Users/dabou/.m2/repository/org/slf4j/slf4j-api/1.7.26/slf4j-api-1.7.26.jar:/Users/dabou/.m2/repository/org/slf4j/jul-to-slf4j/1.7.26/jul-to-slf4j-1.7.26.jar:/Users/dabou/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.9.9/jackson-dataformat-yaml-2.9.9.jar:/Users/dabou/.m2/repository/org/yaml/snakeyaml/1.23/snakeyaml-1.23.jar:/Users/dabou/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.9.3/jackson-databind-2.9.9.3.jar:/Users/dabou/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar:/Users/dabou/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar:/Users/dabou/.m2/repository/io/fabric8/zjsonpatch/0.3.0/zjsonpatch-0.3.0.jar:/Users/dabou/.m2/repository/com/github/mifmif/generex/1.0.2/generex-1.0.2.jar:/Users/dabou/.m2/repository/dk/brics/automaton/automaton/1.11-8/automaton-1.11-8.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar" io.fabric8.podset.operator.PodSetOperatorMain
Connected to the target VM, address: '127.0.0.1:50592', transport: 'socket'
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Oct 07, 2019 7:05:13 PM io.fabric8.podset.operator.controller.PodSetController run
INFO: Starting PodSet controller
Oct 07, 2019 7:05:14 PM io.fabric8.podset.operator.controller.PodSetController run
INFO: trying to fetch item from workqueue...
Oct 07, 2019 7:05:14 PM io.fabric8.podset.operator.controller.PodSetController run
INFO: Work Queue is empty
but if we want to debug, then break points is not called when a CR is deployed on ocp3.11
io.fabric8.podset.operator.controller.PodSetController$1.onAdd()
Oct 07, 2019 7:05:49 PM io.fabric8.podset.operator.controller.PodSetController enqueuePodSet
INFO: enqueuePodSet(example-podset)
Oct 07, 2019 7:05:49 PM io.fabric8.podset.operator.controller.PodSetController enqueuePodSet
INFO: Going to enqueue key scoped/example-podset
Oct 07, 2019 7:05:49 PM io.fabric8.podset.operator.controller.PodSetController enqueuePodSet
INFO: Adding item to workqueue
Oct 07, 2019 7:05:49 PM io.fabric8.podset.operator.controller.PodSetController run
INFO: Got scoped/example-podset
Oct 07, 2019 7:05:49 PM io.fabric8.podset.operator.controller.PodSetController run
SEVERE: PodSet example-podset in workqueue no longer exists
Question: Do we have to perform a specific step to debug a java operator (= connected to an informer queue) ?