Disable debug mode while tests are running.