Honour debug switch