Translations:Manual:$wgDebugRedirects/5/en

If you set this to a value in your $LocalSettings, then any time a "redirect" happens, you get stopped at the point the redirect begins by ending on a page that simply says "Location: " and after that is the URL that you are being sent to.