diff --git a/obs/obs-app.cpp b/obs/obs-app.cpp index 2abbbdc20..caf33e224 100644 --- a/obs/obs-app.cpp +++ b/obs/obs-app.cpp @@ -46,7 +46,7 @@ static void do_log(enum log_type type, const char *msg, va_list args) OutputDebugStringA(bla); OutputDebugStringA("\n"); - if (type >= LOG_WARNING) + if (type >= LOG_WARNING && IsDebuggerPresent()) __debugbreak(); #else vprintf(msg, args);