Skip to main content

Global Flags

These flags are available on every Scout CLI command.

Flags

FlagTypeDescription
-v, --verboseboolEnable verbose debug logging to stderr. Useful for troubleshooting authentication, API requests, and config parsing
-a, --account <NAME>stringOverride the active account context for this command. Equivalent to running scout context set <NAME> temporarily

Examples

Enable verbose logging to debug a failing query:

scout -v logs payment-service --since 5m

Run a command against a different account without switching context:

scout -a staging-org alerts --since 1h

Combine both flags:

scout -v -a prod-org traces payment-service --status Error
tip

Verbose output is written to stderr, so you can still pipe or redirect the command's normal output:

scout -v logs payment-service --raw 2>debug.log | jq .

See Also

Was this page helpful?