These functions are fully orthogonal.
Assembly selection (by default, you can change these parameters separately and create new assembly targets):
- The debug build generates debug information, IL optimization and the DEBUG conditional character are disabled
- The release build does not generate debug information, IL optimization is enabled, and the DEBUG symbol is not defined
Run vs Run without Debugger determines if the debugger is attached in the running process. By default, starting with the debugger, JIT optimization is also disabled.
source share