Cypress · Method
cy.debug
cy.debug() pauses a Cypress test and logs the current subject for inspection in browser Developer Tools. It passes the subject through so the command chain can continue.
Last updated
- Since
- 12.0.0
Syntax
.debug()
.debug(options)
cy.debug()
cy.debug(options)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
.pause()cy.log()cy.screenshot()Debugging