prompt debugging