TTA2 added debug waypoint for portcullis
Added logging of actions when built in debug mode