title: Determine whether app compiled with or without _DEBUG macro
body: <p>I have the app (executable file), but I do not have source code of that app. I can launch this app.
  I need to know is it release or debug build.</p>
  
  <p>Is there any way in Windows to programmatically determine that app was compiled with <code>_DEBUG</code> macro?</p>
  
  <p>P.S.
  <code>CheckRemoteDebuggerPresent</code> can check existence of attached debugger process. This is not what I need.</p>