Controls initialization

I am currently working on a 6-DOF rigid wing awe system. For some reason, the solver’s ability to solve the ocp is highly dependent on how I initialize the utrajectory and initializing it with the previous ocp’s utrajectory doesn’t always yield the best results. Hence, how can I debug this sort of problem?