Skip to content

Commit

Permalink
DEBUG=1 as alternative to PWDEBUG=1 (also shows Playwright debugger)
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Oct 26, 2023
1 parent a374d48 commit 4137bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dotenv.config({ path: 'data/config.env' }); // loads env vars from file - will n

// Options - also see table in README.md
export const cfg = {
debug: process.env.PWDEBUG == '1', // runs non-headless and opens https://playwright.dev/docs/inspector
debug: process.env.DEBUG == '1' || process.env.PWDEBUG == '1', // runs non-headless and opens https://playwright.dev/docs/inspector
record: process.env.RECORD == '1', // `recordHar` (network) + `recordVideo`
time: process.env.TIME == '1', // log duration of each step
dryrun: process.env.DRYRUN == '1', // don't claim anything
Expand Down

0 comments on commit 4137bb5

Please sign in to comment.