The insulation on a motor lead breaks in two places more than anywhere else: where the cable enters the gland, because it flexes and the gland was tight on the wrong spot, and inside the terminal box, where heat has cooked the lead insulation until it cracks when you move it. Both get repaired the same way, and the repair is better than it sounds if it is done in order.
Isolate and prove dead at the motor terminals, not just at the starter. Clean the damaged section and an inch either side; solvent for oil, then let it dry, then abrade the sheath lightly so the tape has something to grip. First tape, where it is needed: varnished cambric. Over a bare conductor or a lug in a terminal box, one layer of varnished cambric goes on first, so the rubber does not bond to the metal and the joint can be opened again; over sound insulation at a gland most people leave it out. Second tape: rubber splicing tape, self-fusing, stretched to about three-quarters of its width as you wrap, half-lapping each turn, from an inch before the damage to an inch past it, then back again: two half-lapped passes and no edge. This is the insulation; it fuses into one solid sleeve within a day. Third tape: vinyl electrical tape over everything, half-lapped, pulled tight, finished with the last turn laid down without stretch so it does not flag. The vinyl is not insulation; it is the jacket that protects the rubber from oil, abrasion and ultraviolet. Megger the repair at 500 V to hull, and between conductors with the cores lifted off the motor studs (with the motor on, the windings join every pair), before you close anything, and again after the motor's first run warm.
If the damage is at the gland, the gland was wrong: too large for the cable, or tightened where the cable bends. Re-make it with the right size and support the cable so the bend is outside the gland. If the damage is inside the terminal box and the leads crumble, the motor has been running hot; re-insulate the leads back to where the insulation is sound, and find out why it was hot. Log the repair, and treat it as holding until the lead can be re-terminated or the cable replaced.
Pocket rules. Dead at the motor. Clean, dry, abraded. Rubber stretched to three-quarters width, two half-lapped passes, no edge. Vinyl is the jacket, not the insulation. Megger before and after the first warm run. Fix the gland, or you will be back.