Socket Inspector
Real-time WebSocket debugger, right inside DevTools.
Create your own messages
Build your message and send it over any WebSocket connection on the page. Simulate edge cases, reproduce bugs, and uncover security vulnerabilities without leaving DevTools.
-
Send WebSocket messages to the UI or the server
-
Powerful editor with JSON and raw text support
-
Built-in JSON formatter and syntax validator
Close connections on command
Take control of the WebSocket lifecycle. Simulate server disconnects to ensure your application's reconnection logic and error handling is robust and reliable.
-
Quickly test client-side reconnection logic and error recovery flows
-
No backend changes required
-
Supports standard WebSocket close codes and custom close reasons