Run this existing spec that has a plugin which logs to process.stderr:
npm run cypress:run -- --project ./packages/server/test/support/fixtures/projects/system-node
npm run cypress:open -- --project ./packages/server/test/support/fixtures/projects/system-node
It will log in cypress open, but not cypress run.
The pluginsfile should log either way.
The culprit is that this code path will cause the onStderrData callback to always return falsey:
I believe this was a mistake, as line 252 returns false, but there is no "default case" that returns true after that.
If you add "return true", once again, output will contain Electron debug information (#4255). But we can just filter that out or not set ELECTRON_ENABLE_LOGGING at any point.
HI @jennifer-shehane ,
I would like to take this issue.
@santoshyadav198613 Feel free to pick this issue up, ping me if you have any questions. I think changing that onStderrData callback to return true will be a good starting point.
Hi @flotwig ,
Are we looking for this to be logged?

Hi @flotwig ,
PR is open now.
Hi @flotwig ,
Are we looking for this to be logged?
Yep, that's great!
Hi @flotwig,
Cool just need some help on Testing , mentioned the error which I am getting in PR.
Nice