PCR detection of viruses is helpful so long as its accuracy can be understood: it offers the capacity to detect RNA in minute quantities, but whether that RNA represents infectious virus may not be clear.
https://www.cebm.net/covid-19/infectious-positive-pcr-test-result-covid-19/