Debug code for mobile pt 3