Skip to content

Debug (by PSModule)

Actions
Print info from the runner environment to logs.
v1.0.6
Latest
Verified creator
Star (2)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Debug Action

Prints comprehensive debug information about the GitHub Actions runner environment, contexts, environment variables, and PowerShell state.

Caution

This action exposes environment variables and contexts, which may include sensitive information or secrets. GitHub attempts to mask secrets in logs, but if a secret contains newlines (common with private keys) due to PowerShell's formatting, GitHub masking may fail and inadvertently expose the secret.

Usage

Inputs

This action does not currently require any inputs.

Secrets

This action does not explicitly require secrets but may display environment variables or contexts containing sensitive information. Use with caution.

Outputs

This action does not provide outputs.

Example

jobs:
  Get-Debug:
    runs-on: ubuntu-latest
    steps:
      - name: Debug
        uses: PSModule/Debug@v1

Information Displayed

  • GitHub Context
  • Environment Variables
  • GitHub event payload details
  • PowerShell environment details including:
    • Variables
    • Installed Modules
    • Execution context
    • Host details
    • Invocation details
    • PowerShell session options
    • PowerShell version details

Debug (by PSModule) is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Print info from the runner environment to logs.
v1.0.6
Latest

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Debug (by PSModule) is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.