You can turn on diagnostics and set the log level to debug using:
config.toml
[cloud]
use_local_secrets = false
diagnostics = true
[logging]
level = "DEBUG"
Environment variables
export PREFECT__LOGGING__LEVEL="DEBUG"
export PREFECT__CLOUD__DIAGNOSTICS=True
Additionally for troubleshooting, you may:
- add state handlers to log state transitions
- log parameter values and log more info in flows in general