public static @NotNull Collection<String> collectPythonPath(@Nullable Module module,
                                                              @Nullable String sdkHome,
                                                              boolean shouldAddContentRoots,
                                                              boolean shouldAddSourceRoots,
                                                              boolean isDebug) {
    final HashSet<String> pythonPath = Sets.newLinkedHashSet(collectPythonPath(module, shouldAddContentRoots, shouldAddSourceRoots));

    if (isDebug && PythonSdkFlavor.getFlavor(sdkHome) instanceof JythonSdkFlavor) {
      //that fixes Jython problem changing sys.argv on execfile, see PY-8164
      pythonPath.add(PythonHelpersLocator.findPathInHelpers("pycharm"));
      pythonPath.add(PythonHelpersLocator.findPathInHelpers("pydev"));
    }

    return pythonPath;
  }
public static @NotNull Collection<String> collectPythonPath(@Nullable Module module,
                                                              @Nullable String sdkHome,
                                                              boolean shouldAddContentRoots,
                                                              boolean shouldAddSourceRoots,
                                                              boolean isDebug)