Cloud Code lets you debug an application deployed to a
Google Kubernetes Engine (GKE) cluster by leveraging
skaffold debug.
You can debug your application on a local cluster (like minikube or Docker Desktop), GKE, or any other cloud provider.
With Cloud Code's debugging support, you don't have to complete
manual setup like setting up port forwarding or injecting language-specific
debug arguments. Debugging requires a Cloud Code-ready
GKE application that includes a skaffold.yaml
configuration file and a cloudcode.kubernetes launch configuration.
Debug a GKE application
To begin debugging your GKE application, follow these steps:
In the Cloud Code status bar, click the active project name.

In the Quick Pick menu that appears, select Debug on Kubernetes.
If prompted, authenticate your credentials to run and debug an application locally.