Cypress Quick Tip: Debugging
Did you know that you can debug while you Cypress to help figure out your tests?! Well you can!!
My skill level is a bit more on the
console.log(foo); level of things. I do know that you can put a
debugger; statement in to step through things. I just don't always know where to put that
debugger statement. With Cypress.io you can leverage debugger statements in your regular code and hit them in Cypress and that's GREAT. BUT if you want to put debugger statements into your cypress code then you should probably leverage
Check out the official documentation for more info! Considering most test suites are coming from the outside, and Cypress is coming in from the INSIDE, using your usual debugging tools should feel like second nature.