forked from TobiaszCudnik/phpquery
-
Notifications
You must be signed in to change notification settings - Fork 65
Debugging
didier Belot edited this page Mar 6, 2018
·
1 revision
// enable debugging messages
phpQuery::$debug = 1;
// enable extensive debugging messages
// used to debug document loading errors from phpQuery::newDocument()
phpQuery::$debug = 2;
// debug inside chain
pq('.foo')->dump()->...;
pq('.foo')->dumpWhois()->...;
pq('.foo')->dumpTree()->...;
pq('.foo')->dumpDie()->...;