Modify debugging scripts