Manual:$wgDebugRawPage

Details
If false, 'action=raw' and load.php hits will not result in debug output.

This avoids overlapping debug entries.