Manual:$wgShowDBErrorBacktrace

Details
If true, show a backtrace for database errors.