use PWDEBUG=1 to debug instead which also opens Playwright Inspector

This commit is contained in:
Ralf Vogler 2021-12-28 19:07:56 +01:00
parent 6de35e00ef
commit 1fc4ee761d
2 changed files with 4 additions and 6 deletions

View file

@ -6,7 +6,7 @@ Setup: `npm install && npx playwright install` (downloads {chromium, firefox, we
Run `npm login` which opens a browser where you can login. When closing the browser, it writes a file `auth.json` containing cookies that should keep you logged in for some time (`expires` in a month?).
Then use `npm start` to run Chrome in headless mode to claim the current free game.
If something goes wrong, try `npm start -- --debug` to investigate.
If something goes wrong, use `PWDEBUG=1 npm start` to [inspect](https://playwright.dev/docs/inspector).
## log