Skip to content

Commit

Permalink
docs: add cypress debug instructions (cypress-io#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcC399 authored Sep 23, 2024
1 parent 48df240 commit b94e87d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ If you run a Cypress Docker image locally as container with a non-root user, ref

If you specify a Cypress Docker image in a [GitHub Actions job](https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container) `container` workflow section, add `options: --user 1001` to the workflow to avoid permissions issues.

## Debug logs

To enable all Cypress debug logs when running Cypress in a Docker container, set the environment variable `DEBUG` to the value `cypress:*`. To filter the debug logs read [Log sources](https://on.cypress.io/troubleshooting#Log-sources) for alternate values of `DEBUG`.
- For `docker run` in a command line, refer to [docker run: set environment variables](https://docs.docker.com/reference/cli/docker/container/run/#env) for options to pass environment variables to a Docker container.
- In a Continuous Integration (CI) workflow using a Cypress Docker image, refer to your CI documentation for information on setting environment variables.

## Known problems

## Firefox not found
Expand Down

0 comments on commit b94e87d

Please sign in to comment.