Debugging spatial PDR script