MeekroDB Quick Start Docs FAQ
Download GitHub

Debug Mode

MeekroDB's debug mode will echo all SQL commands to the screen. It's useful for getting an overview of what SQL commands your script is running.

You can enable debug mode like this:

DB::debugMode();

You can disable it like this:

DB::debugMode(false);

Under the hood, the "debug mode" is a success handler. See the documentation on success handlers to learn how to add your own function that will run on every successful query.