protected static int convertLocalLineToRemote(VirtualFile file, int l) {
    return ReadAction.compute(() -> {
      int line = l;
      final Document document = FileDocumentManager.getInstance().getDocument(file);
      if (document != null) {
        while (PyDebugSupportUtils.isContinuationLine(document, line)) {
          line++;
        }
      }
      return line + 1;
    });
  }
protected static int convertLocalLineToRemote(VirtualFile file, int l)