How to set ACTIONS_STEP_DEBUG for fork PRs?

I’m debugging a workflow that runs on: pull_request, and I want to see the step debug output.

The problem is that step debugging is activated by setting the secret ACTIONS_STEP_DEBUG to true, but workflow runs on fork PRs can’t access secrets from the source repo.

I tried setting the secret in a fork repo that I own and submitting a PR from there, but that didn’t work either.

Is there any way to get step debug logs for a workflow run on a PR from a fork?