debug script action