Question
Generate code guarded by #if DEBUG
Can I have CubeIDE generate GPIO initialization that will be guarded by #if DEBUG?
On my board there are LEDs that are connected to pins which are also used for debugger connection. I want cube IDE to initialize those pins as outputs only if I set the project in Release build.