STM32 series PWM out logic level at reset and pause state
I am using STM32F103RCTx and STM32CubeIDE for developing a small application.
I am tuning a vacuum pump DC motor using PWM signal with TIM1 CHANNEL_1. But I hit a small problem when I start debug the board. The motor is running from the time the IDE starts reset & downloading program to the MCU until I click at RUN to run the program. This is very annoying when I debug the program in the office.
Here is the TIM1 setting. The PWM frequency is 2kHz, polarity HIGH and CH Idle state Reset.

Is there any way to make the PWM Channel output certain at debug stage before I click RUN by config only the MCU without extra circuit? Just like controlling the LEDs. The LED configured as GPIO OUPUT does not turn LED ON until program running.
Thanks for the help.