3

I have a step in my workflow where I run a command (python script). This python script appears to be hanging somewhere in the middle of the execution - GitHub shows the step as running it's stuck and nothing happens.

To debug this, I would want to see the log output of the python script. How can I achieve that?

enter image description here

Konstantin Schubert
  • 3,242
  • 1
  • 31
  • 46

1 Answers1

2

You can enable Debug Logging by adding secrets or environment variables (secrets take precedence if both set):

To debug a runner:

  • ACTIONS_RUNNER_DEBUG set to true

To debug each step:

  • ACTIONS_STEP_DEBUG set to true
Rafael Leite
  • 147
  • 1
  • 1
  • 13
smac89
  • 39,374
  • 15
  • 132
  • 179