diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/attach/osHandlers/AttachOSHandler.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/attach/osHandlers/AttachOSHandler.java index bf68adc8c0bd..05621dc0fe3d 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/attach/osHandlers/AttachOSHandler.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/attach/osHandlers/AttachOSHandler.java @@ -95,6 +95,10 @@ public abstract class AttachOSHandler { GeneralCommandLine getOsCommandLine = new GeneralCommandLine("uname", "-s"); final String osString = host.getProcessOutput(getOsCommandLine).getStdout().trim(); + if(osString.startsWith("MSYS")) { + return OSType.WINDOWS; + } + OSType osType; switch (osString) { @@ -118,6 +122,7 @@ public abstract class AttachOSHandler { public enum OSType { LINUX, MACOSX, + WINDOWS, UNKNOWN } }