debug: print only the current action in debug.log