Translations:Manual:How to debug/18/en

You can also enable backtrace on SQL error by setting $backtrace: