cypress: Process Profiler Doesn't Work With cypress run

Current behavior:

Enabling the new process profiler doesn’t work with cypress run. The profiler is not shown. It works fine with cypress open

Desired behavior:

There should be a way to use the process profiler (or at least access its data) while using cypress run

Test code to reproduce

N/A

Versions

4.8.0

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 2
  • Comments: 18 (8 by maintainers)

Most upvoted comments

I am running Cypress v7.7 on a Ubuntu 20.04 system and running the following command

DEBUG=cypress:server:util:process_profiler ./node_modules/.bin/cypress run

No logs are printed.

Screenshot from 2021-07-15 14-46-09

Here’s an image showing that DEBUG env variable is set in the terminal. Screenshot from 2021-07-15 14-51-48

I resolved this issue by running the below command.

export DEBUG=cypress* rather than DEBUG=cypress*

@jennifer-shehane Still same with 9.4. DEBUG=cypress:server:util:process_profiler does not work. DEBUG=cypress:server:* does not work. But DEBUG=cypress:* does print everything, including cypress:server:... lines.