Ver código fonte

fix debug flag

George S. Baugh 2 anos atrás
pai
commit
a9fb72850d
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/Playwright.pm

+ 1 - 1
lib/Playwright.pm

@@ -640,7 +640,7 @@ sub DESTROY ($self) {
 }
 
 sub _start_server ( $port, $timeout, $debug, $cleanup ) {
-    $debug = $debug ? '-d' : '';
+    $debug = $debug ? '--debug' : '';
 
     $ENV{DEBUG} = 'pw:api' if $debug;
     my $pid = fork // confess("Could not fork");