You can do conditional compilation as follows:
CONFIG::debugging {
// this will be removed if CONFIG::debugging resolves to false at compile time
}
And then add this to the compiler flags:
-define+=CONFIG::debugging,true
for debug collections and
-define+=CONFIG::debugging,false
for releases. CONFIGand debuggingcan be anything, for example MY_AWESOME_NAMESPACEand fooBar, it does not matter.
: .