A police officer has channelled their inner Spiderman by climbing a drainpipe to reach a balcony during a suspected break-in.