How to: Debugging Pods
The first step in debugging a Pod is taking a look at it. Check the current state of the Pod and recent events with:

```sh
kubectl describe pods $POD_NAME
```

When running commands locally in a Terminal, you can immediately see the output `STDOUT`. However, applications running in a cloud environment have their own way of showing their outputs - for Kubernetes, you can view a Pod `STDOUT` with:

```sh
kubectl logs $POD_NAME