During debugging of PWM using CCS, when the debugger stops, the PWMs appear to be driven still, or at least “Lached” to an on-state. This will cause issues and may toast the motor or MOSFETs. Can you put the PWMs into a pull up/pull down stat when the debugger is halted.