added debug for logic proto messages