nick's blog
  • Home
  • About
Subscribe
Tagged

debugging

A collection of 1 post

javascript

Debugging WebSockets using JS Proxy Object

Debugging WebSocket connections with JS Proxy object is easy and requires surprisingly little code. Proxies allow you to set "traps" which can listen for new operator calls ("construct"), function calls ("apply") and more. Examples Here is a basic example of proxying the native window.

Nick May 30, 2017 • 3 min read
nick's blog © 2022
Powered by Ghost