'enable Debug logs for Jenkins pods

How to enable debug logs for Jenkins master and agent?

Tried this Did not work.

controller:
  tag: "2.333"
  imagePullPolicy: "Always"
  javaOpts: >-
    -Dorg.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator.websocketConnectionTimeout=90
    -Dorg.csanchez.jenkins.plugins.kubernetes.pipeline.websocketConnectionTimeout=80000
    -Dkubernetes.websocket.timeout=70000
    -Xms2G
    -Xmx2G
    -Djava.util.logging.loglevel=DEBUG


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source