For conditional debugging it is possible, but nothing like C++ macros are available in C#.

Symbol checked in #if condition can be also defined when invoking compiler from command line with...