# Enable Debug Image

When trying to [recover from a crash](<https://www.percona.com/doc/kubernetes-operator-for-pxc/recovery.html>) or to debug other problems consider turning on the [debug image](<https://www.percona.com/doc/kubernetes-operator-for-pxc/debug.html#debug-images>).

Percona provides the pxc-db image with the `-debug` suffix. This can be added either by adding it to your `pxc-db-$ENVIRONMENT.yaml` or (if you do not want it to persist) by using `kubectl edit statefulset pxc-db-pxc` and changing the image tag accordingly to the version you are using.

```yaml
pxc:
  ## before
  # tag: 8.0.20-11.1
  #
  ## after
  tag: 8.0.20-11.1-debug
```

After enabling the debug image, the pxc-db pods will log verbosely on stdout/stderr.
