Go SDK developer's guide - Debugging
Debug
Debug in a development environment
In addition to the normal development tools of logging and a debugger, you can also see what’s happening in your Workflow by using the Web UI or tctl
.
Debug in a development production
You can debug production Workflows using:
- Web UI
- tctl
- Replay
- TracingTracing and Context Propagation
Explains how the Go SDK supports tracing and custom context propogation.
Learn more - LoggingHow to log from a Workflow
Send logs and errors to a logging service, so that when things go wrong, you can see what happened.
Learn more
You can debug and tune Worker performance with metrics and the Worker performance guide.
For more information, see MetricsHow to emit metrics
Each Temporal SDK is capable of emitting an optional set of metrics from either the Client or the Worker process.
Learn more for setting up SDK metrics.
Debug Server performance with Cloud metrics or self-hosted Server metrics.