Jonny Wenmoth преди 10 години
родител
ревизия
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;
 
     $client = Client::getInstance();
-    $client->debug(true);
+    $client->getEngine()->debug(true);
 {% endhighlight %}
 
 The client log can be inspected after making a request.