CI/CD Pipelines: Debugging and Troubleshooting/Enable GitHub Actions step debug logging

Turn on runner debug logs for detailed troubleshooting.

Section: Find failures faster

Enable GitHub Actions step debug logging

text
text
Set repository or organization secret:
ACTIONS_STEP_DEBUG=true
Explanation

GitHub Actions can emit extra debug output when debug logging is enabled.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Find failures faster
Inspect GitLab job traces
Review the full job log and artifacts from failed jobs.
OpenIn sheettextsame section
Replay Jenkins pipeline with edits
Retry a failed Jenkins pipeline with small script adjustments.
OpenIn sheettextsame section
Missing secrets or permissions
Fail early when credentials or roles are unavailable.
Use strict shell mode in scripts
Stop on errors and unset variables.
Retry flaky network operations
Wrap downloads or package installs with bounded retries.
Cancel outdated duplicate runs
Keep only the latest run active for a branch or PR.