Im writing a small project in C++ and im supposed to include parts in code that would run only under the condition _DEBUG. Code looks like that:
#ifdef _DEBUG
//Debuging code area
#endif
Visual Studio supports it by default, just by clicking "Run" or "Debug" inside IDE. How to use the same function in other enviroments? Is it posible to do it in Clion (Clang compiler)? How?