BZ-12500 gated debug watcher behind if(areDebugging)