add debug info when running module commands