Generally, debugging and release are differentiated.
Debug is used for debugging. debugging information is usually included. Release removes debugging information and is optimized during compilation for release to users.
Distribution generally does not use this statement. If it is estimated that it is the same as release.
Debug is used when writing programs. Release is used as the test product environment, and distribution is used to replace the certificate signature at the official release. You cannot test the certificate on your device.
Debug has debugging information, which is generally not optimized. That is to say, the debug version may be an order of magnitude slower than the release version.
The other two types have been clearly explained above.
However, distribution actually uses the compiled version of the enterprise certificate. Although this is not a special requirement, many programmers who participate in the enterprise certificate release have followed this agreement.
Differences between debug, release, and distribution