Execute some piece of code only on Debug mode in Cypress

Viewed 20

is there any way to set Debug more in cypress and run certain parts of code only in Debug mode in Cypress

I am looking for something similar like #if DEBUG in C#

For Example I want to run log only in debug more so that I can save execution time when It's running normally

0 Answers
Related