During a debug session:
Open Src/main.c . Locate the while(1) loop inside main() . Add: Stm32cubeide St