Fix Issue 12657 - Regression (2.065): Running Phobos test-suite with -de...

...bug fails

Basically, we move all the debug code into an `in` block, which prevents attribute inference for said code block.

Also fixes https://issues.dlang.org/show_bug.cgi?id=12661