Avoid committing breakpoints

Don't commit breakpoints. This will pause execution in prod and break the app.

If our GitHub code review bot spots this issue in your pull request it gives this advice:

code-review-doctorbotsuggested changes just now
views.py
1
+
class HomeView(View):
2
+
    def get(self, request):
3
+
        import pdb; pdb.set_trace()

Don't commit breakpoints. This will pause execution in prod and break the app.

Read more
Suggested changes
-
        import pdb; pdb.set_trace()
Commit suggestion
4
+
        ...
Update views.py

Instantly check if you have this issue for free

    Works with tools you use

    Read about how it works.