Manual:$wgShowDBErrorBacktrace

Details
If true, show a backtrace for database errors.

In MediaWiki 1.32, this setting got deprecated and is nonfunctional since then. Use  and  instead!