https://cypress.io logo
What is the equivalent of console.log() for cypres...
# i-need-help
f
Some of my tests pass headless and on the runner but fail on the pipeline. I want to debug but I can't get any logs to print on the runner. What should I use to add logs to the github actions running logs? I mean while the tests are running on the pipeline.
m
Hi @faint-ocean-92094 If you are running https://github.com/cypress-io/github-action you can enable debugging with env: DEBUG: '@cypress/github-action, cypress:*' See https://github.com/cypress-io/github-action/blob/master/README.md#debugging