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

This commit is contained in:
Max Schmitt 2021-09-07 18:35:01 +02:00 committed by GitHub
parent e40b805782
commit e1c2d67359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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' },