You can find urine with a black light, as it fluoresces:
https://www.amazon.com/Flashlight-Vansky-Ultraviolet-Blacklight-Eliminator/dp/B01A5KLUG2
Then use enzymes to destroy the odor causing compounds:
https://www.amazon.com/Urine-B-Gone-Concentrated-Completely-Eliminate-Biological/dp/B07DFTPVBZ
https://www.amazon.com/gp/aw/d/B01A5KLUG2?psc=1&ref=ppx_pop_mob_b_asin_title
This one worked fine for me
UV Flashlight Black Light , Vansky 51 LED Blacklight Pet Urine Detector for Dog/Cat Urine,Dry Stains,Bed Bug, Matching with Pet Odor Eliminator https://www.amazon.com/dp/B01A5KLUG2/ref=cm_sw_r_cp_api_glt_i_2BGRF9TRY9SMT897H140?_encoding=UTF8&psc=1