code gets lost upon debug
I downloaded the STM32CubeF7 bundle and extracted it. Then made a new folder under the projects folder of the bundle and started STM32CubeIDE with the workspace pointing to the projects folder. I started a new project blinkled and put the blink code in main.c
The code compiles ok, and I have a blinking led.
Now as soon as I hit the debug button, all my code gets cleared out of the main.c folder.
The file is actively overwritten, even if I keep the file open in an external editor.
What am I doing wrong here?