[mod] setup environment for both ripple and xcode debug