Openfl test flash and debug version

Hello,

when I compile a swf with openfl test flash is a debug version or not ?

Thanks

Default is release, but you can also target debug or final build configurations using target flags :slight_smile:

  • openfl test flash
  • openfl test flash -debug
  • openfl test flash -final

“final” is a release build, but the intent is for a final release configuration, such as before you go to a store. As a result, you might enable extra optimizations, or point to production servers instead of QA servers, by using #if final in your code :slight_smile: