TCC > Variables & Functions > Variables:
Comments (...)
_IDE returns 1 when in the IDE / batch debugger, or 0 if not.
See also BDEBUGGER.
Help URL: http://jpsoft.com/help/index.htm?_ide.htm