...
Click the Debug button at the top panel:
Apply the launch configuration if prompted:
Select Remember my decision and switch to the Debug Perspective if prompted: d
fff
Wait for the STM32CubeIDE to write the firmware image to the target via ST-Link and stop at the
main()
function:Proceed to execute you program with steps, put breakpoints, and examine variables.
...