A lightweight WinForms HTTP debug message receiver. Run it on your local machine to capture and inspect debug messages sent from browser applications or web services over HTTP.
- .NET 10 SDK (or later)
- Windows (WinForms dependency)
dotnet builddotnet runThis opens the tcpdebug window. Click Start to begin listening for messages (default port 5000).
POST to /debug with either JSON or plain text.
fetch("http://localhost:5000/debug", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ message: "User clicked checkout button" })
});fetch("http://localhost:5000/debug", {
method: "POST",
body: "Something happened"
});curl -X POST http://localhost:5000/debug -H "Content-Type: application/json" -d "{\"message\": \"hello from curl\"}"await httpClient.PostAsJsonAsync("http://localhost:5000/debug", new { message = "hello from backend" });- Start / Stop — toggle the HTTP listener on and off
- Port configuration — change the listen port before starting
- Auto-scroll — follows new messages as they arrive (toggleable)
- Sender IP — each message shows the remote IP address
- Save session — export the current session to a
.txttranscript file - Load session — reload a previously saved transcript
- Clear — wipe the current session with confirmation
Saved transcripts are tab-delimited text files:
tcpdebug session - 2026-02-10 14:32:05
============================================================
#1 2026-02-10 14:32:05.123 192.168.1.5 User clicked checkout button
#2 2026-02-10 14:32:06.456 10.0.0.1 Cart total: 42.00
These files can be reloaded into tcpdebug via Session > Load.
GET http://localhost:5000/ returns tcpdebug is running when the listener is active.