Since BEdita 3.4 it is possibile to use the CakePHP DebugKit: a debugging toolbar and enhanced debugging tools for CakePHP applications.
Steps to activate:
- get the forked version of debug_kit via github (1.3 branch only) simply using:
git clone -b 1.3 --single-branch https://github.com/bedita/debug_kit.git bedita-app/plugins/debug_kit
from BEdita core root folder [NOTE: --single-branch option is valid from git version 1.7.10]. - write
$config['debugKit'] = true;
in bedita-app/config/bedia.cfg.php (activate for both backend/frontend) or just in frontend.cfg.php (frontend only) - now reload your application, you will see the cake toolbar in the upper right corner
Happy debugging :)
NOTE: to see sql queries in sql_log you should write as usual Configure::write('debug', 2);
in config/core.php