Translations:Manual:$wgDebugRedirects/5/en

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