Description
httpdbg is a debugging tool for Python developers who want to see the HTTP and HTTPS requests their code makes. You run your program with the pyhttpdbg command instead of python, then open a browser at localhost port 4909 to inspect each request. By default it records both client and server requests, and a flag limits it to client requests. It supports HTTP/1.0, HTTP/1.1 and HTTP/2. Besides running scripts, you can open an interactive console, trace a library module run as a script, such as pip during a package install, trace requests made during pytest or unittest runs, where requests are grouped by test, and trace requests received by your own HTTP server. Each request is attributed to the function or package that started it, and you can add your own initiator packages. Full documentation is on Read the Docs.…
Highlights
- Browser view of client and server HTTP requests
- HTTP/1.0, HTTP/1.1 and HTTP/2 support
- Works with scripts, modules, the console and tests
- Groups requests by pytest or unittest test
- Custom initiator packages
- Client-only recording mode
Ratings & Reviews
No ratings yet
Be the first to rate Httpdbg.
People also visit
HTTP Toolkit
Beautiful & open-source tools to debug, test and develop with HTTP(S)
Reqable
Next-Gen API Development Tool, Advanced API Debugging Proxy and REST Client

Requestly - An HTTP Interceptor to Intercept, Modify & Mock HTTPs Requests
Helping front-end developers ship faster
Httpdbg FAQ
What is httpdbg?
A tool that records the HTTP and HTTPS requests a Python program makes and shows them in a web browser at localhost port 4909.
How do I use it?
Run your program with the pyhttpdbg command in place of python, then open http://localhost:4909 in your browser.
Can it trace test runs?
Yes. It can trace requests made during pytest and unittest runs and groups them by test. Requests made in fixtures or in setup and teardown are tagged.
Does it record only outgoing requests?
No, not by default. It records both client and server requests. The --only-client argument restricts it to client requests.
Where is the documentation?
At httpdbg.readthedocs.io.
What are the best Httpdbg alternatives?
Popular alternatives to Httpdbg include HTTP Toolkit, HTTP Toolkit and Reqable. See all Httpdbg alternatives




