Add conditional compilation directive to not auto update during debug.