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); }