-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial design #1
Comments
I got Claude 3.5 Sonnet to write most of the initial code:
https://claude.site/artifacts/d7da92c2-8a6e-4fd8-a6f2-b243523af1b4
https://claude.site/artifacts/a1fb7996-e16b-403f-848c-e9ff0adcb9e3
https://claude.site/artifacts/9f1a2db7-d614-4fc0-9c84-860a2c1afa92
https://claude.site/artifacts/c49367b9-b6f9-4634-be72-a266e01579fd |
To get it to work correctly with class DebugMiddleware:
def __init__(self, get_response):
self.get_response = get_response
def __call__(self, request):
response = self.get_response(request)
if response.status_code == 404:
path = request.path.lstrip("/")
debug_response = debug_view(request, path)
if debug_response:
return debug_response
return response |
This is a debugging tool. I want to make it easy to start iterating on things like webhooks or OAuth flows by configuring quick endpoints that return configured mock data and log the incoming request.
The text was updated successfully, but these errors were encountered: