Remove developer errors from release build

#1240 

Wrapped developer errors with the pre-processor build target pragmas.debug to remove developer errors from the release build.