fixing startup debugging