← 기능 섹션으로 돌아가기
Pro

WebSocket Inspector

WebSocket Inspector captures every WebSocket frame — sent and received — across all connections on the page. Shows connection lifecycle (connecting/open/closed with close codes), per-frame direction, size, binary flag, and preview, with pretty-printed JSON payloads. Fills a real DevTools gap for realtime protocol debugging.

WebSockets power chat apps, live dashboards, GraphQL subscriptions, multiplayer games, and collaborative editors — but debugging them is painful. Chrome DevTools shows WebSocket frames, but its UI is clunky and filtering is limited. WebSocket Inspector gives you a cleaner, purpose-built view. The tool installs a wrapper around the native WebSocket constructor in the page context, so every new WebSocket() is intercepted. Each connection shows up in a list with its URL, status (connecting → open → closed), duration, and close code when disconnected. Every frame — sent and received — is captured with timestamp, direction, size, binary flag, and preview. Click any frame to see its full payload, automatically pretty-printed if JSON. Filter by direction (sent / received), binary-only, or by specific connection. Because the wrapper installs when the tool activates, you'll want to reload the page to catch existing connections — new connections are captured from the moment you open the tool.

라이브 미리보기
example.com
WebSocket Inspector ● 2 active connections
Connections
wss://realtime.example.com/chat open · 2m
wss://graphql.example.com/subscriptions open · 8m
All ↑ Sent ↓ Recv ↑ 12 · ↓ 47 · 8.4 KB
14:32:05 {"type":"connection_ack"} 28 B
14:32:05 {"type":"subscribe","id":"1","payload":...} 98 B
14:32:06 {"id":"1","type":"next","payload":{"data":...} 412 B
14:32:07 {"id":"1","type":"next","payload":{"data":...} 398 B
14:32:09 ping 4 B
14:32:09 pong 4 B
14:32:14 BIN [ArrayBuffer 1024 bytes] 1.0 KB
14:32:15 {"id":"1","type":"next","payload":{"data":...} 389 B
주요 기능

Per-Connection Lifecycle

Shows every WebSocket with status (connecting/open/closed), URL, duration, close code, and any close reason.

Every Frame Captured

Both sent (↑) and received (↓) frames shown with timestamp, size, binary flag, and inline preview.

JSON Pretty-Printing

Click a frame to see the full payload. JSON strings auto-format with 2-space indent for readable inspection.

Filter by Direction / Binary

Filter frames to only sent, only received, or only binary — focus on what you're debugging.

Per-Connection Filtering

Click a connection to filter frames to just that one — useful when multiple WebSockets are active (e.g., chat + presence).

No Reload Required For New Connections

Any WebSocket opened after the tool activates is captured immediately. Reload only to catch pre-existing ones.

주요 활용 사례

Debugging Chat Apps

See exactly what messages are sent and received between client and server — pinpoint where delivery is failing.

GraphQL Subscription Debugging

Inspect subscription operations and incoming data pushes to debug mismatched payloads or subscription teardown bugs.

Protocol Reverse-Engineering

Understand how a third-party realtime API works by observing its message structure and timing.

Monitoring Heartbeat / Ping-Pong

Verify that keep-alive frames are being sent at the expected interval — a missed ping can explain unexpected disconnects.

Debugging Reconnection Logic

Watch the close event (with code and reason) and the subsequent new connection attempts to debug retry/reconnect bugs.

사용법
1

Open WebSocket Inspector

Click the WebSocket icon in the DevSuite Pro dock. The tool activates and a panel opens showing connections and frames.

2

Reload the Page (if needed)

WebSockets opened BEFORE the tool activated won't be captured. Reload to re-create them and intercept from the start.

3

Watch Connections Appear

As the page opens WebSockets, they show in the Connections list with live status updates.

4

Browse Frames

Every frame logs in real time. Filter by direction or click a connection to narrow the list.

5

Click Frames for Detail

Click any frame to see its full payload (pretty-printed JSON if applicable) along with timestamp, size, and binary flag.

시작할 준비가 되셨나요? WebSocket Inspector?

DevSuite Pro를 무료로 설치하고 브라우저용 39개 이상의 개발자 도구를 사용해보세요.

Chrome에 추가 Edge에 추가 Firefox에 추가