nais debug

nais debug APP_NAME [flags]

When flag “–copy” is set, the command can be used to debug a copy of the original pod, allowing you to troubleshoot without affecting the live pod.

To debug a live pod, run the command without the “–copy” flag.

You can only reconnect to the debug session if the pod is running.

Options

-b, --by-pod
Attach to a specific BY-POD in a workload.
-c, --context
REMOVED, see –environment.
--copy
Create a copy of the pod with a debug container. The original pod remains running and unaffected.
-e, --environment
The environment to use.
-n, --namespace
REMOVED, see –team.

Inherited options

--config
Specify the location for the configuration file.
--no-colors
Disable colors in the output.
-t, --team
Specify the team to use for this command. Overrides the default team from configuration.
-v, --verbose
Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.

This site uses Just the Docs, a documentation theme for Jekyll.