Debugging

Tequila offers basic integrated debugging, to enable:

Site wide (All users, all calls)

    1. Open includes/config.php

    2. Set :

$config['debug'] = true;

For specific calls:

Add the debugging key to any URL, i.e.

locahost/Tequila/index.php?task=your-task&debug=12345

The debugging key is part of your config file, look for and set at:

$config['debug_code'] = 'enter-your-code-here';

From your code:

Add this line anywhere to start debugging:

startDebug();

Back to Manuals