Jonny Wenmoth 10 лет назад
Родитель
Сommit
8b317a9623
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      _version_4/6-debugging.md

+ 1 - 1
_version_4/6-debugging.md

@@ -25,7 +25,7 @@ Verbose logging can be enabled for PhantomJS by setting the debug flag on the cl
     use JonnyW\PhantomJs\Client;
     use JonnyW\PhantomJs\Client;
 
 
     $client = Client::getInstance();
     $client = Client::getInstance();
-    $client->debug(true);
+    $client->getEngine()->debug(true);
 {% endhighlight %}
 {% endhighlight %}
 
 
 The client log can be inspected after making a request.
 The client log can be inspected after making a request.