Publish vs Debug build
Posted: Thu Apr 13, 2023 4:29 pm
Q: Is there a way to determine if I am compiling a debug build vs publishing?
I would like to automatically disable verbose logging when I publish but leave it on when developing/debugging. In Visual studio for C++, the compiler defines _DEBUG and NDEBUG respectively to support such compile-time configuration changes.
I could not find anything in ModuleDesignerTestClient.log and ModuleDesigner.log that indicates something along the lines of a defined variable.
Any suggestions would be appreciated
I would like to automatically disable verbose logging when I publish but leave it on when developing/debugging. In Visual studio for C++, the compiler defines _DEBUG and NDEBUG respectively to support such compile-time configuration changes.
I could not find anything in ModuleDesignerTestClient.log and ModuleDesigner.log that indicates something along the lines of a defined variable.
Any suggestions would be appreciated