Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(cli): allow unknown parameters in debug command (#8732)

Max Schmitte1c2d6735956
diff --git a/src/cli/cli.ts b/src/cli/cli.ts
index b159e2f33d..e74a1e99f1 100755
--- a/src/cli/cli.ts
+++ b/src/cli/cli.ts
@@ -69,6 +69,7 @@ commandWithOpenOptions('codegen [url]', 'open page and generate code for user ac
program
.command('debug <app> [args...]')
.description('run command in debug mode: disable timeout, open inspector')
+ .allowUnknownOption(true)
.action(function(app, args) {
spawn(app, args, {
env: { ...process.env, PWDEBUG: '1' },