Why did esp-generate even think this is a good idea to have full debugging in the release profile. That's what the debug build is for...