DragonByte Tech
Well-known member
At the moment, it doesn't appear to be possible to debug the queries ran during an API request. It would be nice to be able to pass a parameter to the URL, or a new header, that displayed the query log in a more JSON-friendly format than what we can come up with when we add
to the code ourselves.
Fillip
PHP:
\XF::dumpSimple(\XF\Debugger::getDatabaseDebugInfo(\XF::db()));
die();
Fillip
Upvote
5