Add a function for debugging urlpatterns.