internal static PythonBreakpoint AddBreakPointByFileExtension(this PythonProcess newproc, int line, string finalBreakFilename) { PythonBreakpoint breakPoint; var ext = Path.GetExtension(finalBreakFilename); if (String.Equals(ext, ".html", StringComparison.OrdinalIgnoreCase) || String.Equals(ext, ".htm", StringComparison.OrdinalIgnoreCase) || String.Equals(ext, ".djt", StringComparison.OrdinalIgnoreCase)) { breakPoint = newproc.AddDjangoBreakPoint(finalBreakFilename, line); } else { breakPoint = newproc.AddBreakPoint(finalBreakFilename, line); } return(breakPoint); }