I know of
debug writeln("Some good debug message")
in pure functions but what about functions that I have carefully tagged as @safe or @trusted? DMD currently doesn't allow debug writeln's in those because writeln and similar are currently @system. This is IMHO very frustrating. Is there a clever way to escape safety or do I have to temporarily comment out all my @safe and @trusted tags?