How do I turn playwright headless off for debugging? or Why would you want to turn playwright headles

14 Replies, 1639 Views

Lol, I feel you! Debugging in headless mode is like trying to fix a car blindfolded.

To turn playwright headless off, just slap `headless: false` in your config. Easy peasy.

And yeah, it’s slower, but not *crazy* slow. Just don’t run your whole suite like that—save it for the tricky bits.

Bonus: If you’re using VS Code, the Playwright extension lets you debug right in the editor. No need to turn playwright headless off at all!

Messages In This Thread



Users browsing this thread: 1 Guest(s)