Ensure the project you want to use the extension with has the required files specified in Getting started.
The Tanzu Developer Tools extension requires only one Tiltfile and one workload.yaml
file per project. workload.yaml
must be a single-document YAML file, not a multi-document YAML file.
The extension enables you to debug your application on a Kubernetes cluster that has Tanzu Application Platform.
Debugging requires a single-document workload.yaml
file in your project. For how to create workload.yaml
, see Set up Tanzu Developer Tools.
Debugging on the cluster and Live Update cannot be used simultaneously. If you use Live Update for the current project, ensure that you stop the Tanzu Live Update Run Configuration before attempting to debug on the cluster.
To start debugging on the cluster:
workload.yaml
file in your project.Select Debug ‘Tanzu Debug Workload…’ in the pop-up menu.
Ensure the configuration parameters are set:
registry.io/yourapp-source
. It must include both a registry and a project name.You can also manually create Tanzu Debug configurations by using the Edit Configurations IntelliJ UI.
Click the stop button in the Debug overlay to stop debugging on the cluster.
Ensure the configuration parameters are set:
registry.io/yourapp-source
. It must include both a registry and a project name.Important: You must compile your code before the changes are synchronized to the container. For example,
Build Project
:⌘
+F9
.
To stop Live Update, use the native controls to stop the currently running Tanzu Live Update Run Configuration.