Skip to content

Commit 4137bb5

Browse files
committed
DEBUG=1 as alternative to PWDEBUG=1 (also shows Playwright debugger)
1 parent a374d48 commit 4137bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dotenv.config({ path: 'data/config.env' }); // loads env vars from file - will n
55

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

0 commit comments

Comments
 (0)