This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
Playwright supports debugging out of the box. E.g. one can use page.pause() to stop execution in a script (if running in headed/headful mode). In addition, one can set PWDEBUG=1 which will automatically set Playwright to use headful mode as well as disable all timeouts.
jestPlaywright.debug() is a current, hacky solution that came with jest-puppeteer. It would be good if it is re-worked instead to work better with Playwright's debugging tools/options (and Jest's as well, where applicable).
Describe the solution you'd like
I will leave this to your discretion. But setting PWDEBUG=1 could probably be the way for jest-playwright to also set all its debug?
Describe alternatives you've considered
No idea.
Additional context
Check comments at #596 (comment)