_BDEBUGGER returns 1 if the batch debugger is actively debugging a file, or 0 if it is not.