Debug code work