<debug> setup environment.