Have writeDebugLog() be no-op when not in debug mode