Cypress: Debugging cypress steps on terminal (headless mode)

Created on 10 Jan 2018  路  4Comments  路  Source: cypress-io/cypress

  • Operating System: MAC OS HIGH SIERRA
  • Cypress Version: 1.2.0
  • Browser Version: 63

Is this a Feature or Bug?

Question

Current behavior:

No option to see what cypress is doing behind the scene or headlessly

Desired behavior:

a way to pass --debug to the CLI to see the cypress processes and probably to debug which process is time consuming

question

Most helpful comment

You can do DEBUG=cypress:* cypress run as outlined here: ~https://on.cypress.io/debugging#Debug-the-Command-Line~ https://on.cypress.io/troubleshooting#Print-DEBUG-logs

Edit to update broken link

All 4 comments

You can do DEBUG=cypress:* cypress run as outlined here: ~https://on.cypress.io/debugging#Debug-the-Command-Line~ https://on.cypress.io/troubleshooting#Print-DEBUG-logs

Edit to update broken link

This "debug the command line", doesn't seem to exist on that doc page any more, did it move?

Aha nevermind, it moved to https://docs.cypress.io/guides/guides/command-line.html#Debugging-commands (mebbe a link between the two? or did I miss one)

The info was moved to our Troubleshooting guide https://on.cypress.io/troubleshooting#Print-DEBUG-logs

Was this page helpful?
0 / 5 - 0 ratings