What does Tools: Optimize : Debug do?
I can't find it documented anywhere!
teensy41.menu.opt.ogstd=Debug
teensy41.menu.opt.ogstd.build.flags.optimize=-Og
teensy41.menu.opt.ogstd.build.flags.ldspecs=
-Og
Optimize debugging experience. -Og enables optimizations that do not interfere with debugging.
It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while
maintaining fast compilation and a good debugging experience.