Swift: Disable optimization when compiling in Debug
By default no -O... flag is specified for Debug configuration for
Swift so Xcode adds a (wrong) -O flag that prevents one from accessing
variables while debugging. Add -Onone to the Swift Debug
configuration to avoid this.
Fixes: #23818 (closed)
Edited by Brad King