Parcourir la source

fix debug flag

George S. Baugh il y a 2 ans
Parent
commit
a9fb72850d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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");